thank your lucky stars

US /θæŋk jʊər ˈlʌk.i stɑːrz/
UK /θæŋk jʊər ˈlʌk.i stɑːrz/
"thank your lucky stars" picture
1.

to be grateful for good fortune or for having avoided something bad

:
You should thank your lucky stars you didn't get caught in that traffic jam.
I thanked my lucky stars that I remembered my passport at the last minute.