VOICES: Good grief! Just what does that even mean?

Many of us say “good grief!” Without thinking about it. But what does it mean? Dictionaries say: sorrow, heartache, angst, etc. Please tell me … how can that be “good?” Webster says it’s an informal phrase expressing surprise or annoyance. “He’s burned the toast. Good grief! Can’t he do anything right?”