Find the word definition

Wiktionary
thank gods

interj. (non-gloss definition: Used to express gratitude or relief.)

Usage examples of "thank gods".

Most people, though, didn't get the chance to thank gods, not in person.