My-goodness Definition

interjection

(idiomatic, dated, US, Canada) Used to express surprise, shock, or amazement. Also as "oh my goodness".

My goodness, what a loud noise!
Wiktionary