We’re all human (and that’s okay!)
We were not created to be perfect!
Therefore, we never will be. We've all made mistakes, and we are inevitably bound to make more. This is just part of human nature.
Be nice to yourself! The societal expectation to be flawless is just not realistic. Remember that literally every person will make a wrong decision, and that fact is completely out of our control.
Instead of beating yourself up about making mistakes, try to remember that they can teach us vital lessons and patience.