The best thing about saying thank goodness in place of thank God this that here really are lots of ways of repaying your debt of goodness - by setting to create more of it, for the benefit of those to come.
Someone has to pick up the tab when people get out of repaying their own debts.
Almost everyone takes pleasure in repaying trifling obligations, very many feel gratitude for those that are moderate; but there is scarcely anyone who is not ungrateful for those that are weighty.