The quality or state of being morally sound
Thank goodness someone finally settled the name problem.
Thank goodness I was too brainwashed to know it.
For goodness sake, what sort of a being are you?
"Thank goodness we're nearly there!" panted the little Wizard.
So, do not be ungrateful, but sing His praises and thank Him for his goodness toward you.