Sounds like believing in destiny and accepting that some things are out of your control. Helps to know yourself first and recognize when you can or can't make a change. Of course, one needs not to dwell on the past too much either. I don't think it takes religion to have this outlook.