Thank goodness!

thank goodness

An expression of relief. Oh, thank goodness—I thought I'd lost this precious heirloom!
See also: goodness, thank
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.

Thank goodness!

 and Thank heavens!
Oh, I am so thankful! John: Well, we finally got here. Sorry we're so late. Mother: Thank goodness! We were all so worried. Jane: There was afire on Maple Street, but no one was hurt. Bill: Thank heavens!
See also: thank
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.
See also:
References in classic literature ?
"So you do know something then, thank goodness! You're not quite a heathen.