For me there's a big difference between being disappointed in what I've done and feeling bad for what I've done.
If I write some shitty code, which I still do after 30 years of programming, and my colleague points it out, I feel disappointed. But I don't feel bad. I fix it, try to learn from it and move on.