Thank one’s lucky stars

To be thankful for one’s good luck.

I thanked my lucky stars that I was not hurt in the car accident.