Wiktionary
thank heavens
interj. An expression of relief
Usage examples of "thank heavens".
The attractor-target, thank Heavens, was pulling the cannon wrong in aim.
Oh, thank heavens, this was finally the start of the program they had just enacted.