I think a lot of wise quotes have come from Buddha & this is one of them. I liken this quote to getting angry at bad traffic. There is nothing that can be done about it & it will probably leave you in a bad mood for the rest of the day. So it’s best to just let it go & move on.