to waste time worrying about sth that has happened that you cannot do anything about
Oxford100% of films
to waste time worrying about sth that has happened that you cannot do anything about
The milk...the milk...mustn't cry over spilt milk.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition