Oh My Goodness Gracious Meaning

(idiomatic, euphemistic, dated) Oh my God.

Example: 1861, Henry Mills Alden, “The Debatable Baby”, Harper's new monthly magazine, volume 22, number 132, page 776:
  "Oh, my goodness gracious! who'd have thought it? Oh, my soul and body!" exclaimed Ben, dropping the cover, and jumping up with a perfectly absurd look of ...
1865, Charles Dickens, “All the Year Round. A Weekly Journal.”, volume 13-14, page 551:
  Oh, my goodness gracious me! where was I? Where was Robert? To happen to me, a sort of prudish old maid, who kept her house so strict!