From Longman Dictionary of Contemporary Englishthank God/goodness/heavensthank God/goodness/heavensTHANKused to show that you are very glad about something Thank God that’s over! I’ve never been so nervous in my life!thank God/goodness/heavens for ‘Only ten miles to go.’ ‘Thank heavens for that!’ → thank
Examples from the Corpus
thank for• The badger, though startled, accepted my rendition and continued to forage. Thank goodness for asthmatic sheep!• The first is: thank goodness for insurance.• Phew, thank goodness for that!• There was no justice in the world, and thank goodness for that.