Dellygoat, I totally agree with you.
Ever been in the situation where we drool over some food not meant for us? I have! LOL! Our brain is designed to feel the need to eat when we see good food. Dogs could be the same.
If we place food in the reach of our pets, we are asking to have it being stolen.
It sounds fun to hear your dog actually feeling guilty after being caught stealing food. HAHA!
As for our food being more delicious than dog food, that one I can't be sure of. Dogs have very different smell and taste compare to humans. What taste like sweet might be totally different to them, and it is just an example. However, I do agree they might get bored of eating the same thing every day for the most part. A new snack for a change can be attempting if I am forced to eat the same stuff all the time.