Goodness-gracious Definition

interjection
(idiomatic, euphemistic, dated) Oh my God.
Wiktionary