Stop beating yourself up. You’re a work in progress, which means you get there a little bit at a time not all at once.
This is as true about me as for anyone else. We have to make our mistakes before we can learn from them, true. But they’re no less mistakes for it.