I'm not sure if you are referring to potty training in your original post. If you are, please be aware that most people find it an extremely frustrating process. The angriest I've ever gotten with Thor was because he peed on a table leg while I was trying to train him. Even though I knew intellectually it wasn't his fault, I saw red. I put him in his crate for an hour, did housework, cursed, and gradually calmed down.
Since you say you don't want to give him up, I'd say that patience can be learned. However, if you think you have anger problems, please consider if you'll be able to manage them. Everyone makes mistakes with their dogs. However, you don't want to get into a cycle where you get into a rage, possibly hurt your dog, and then feel horribly guilty and unworthy. That will be bad for both of you. If you have a temper, think about re-homing him, or make a plan for how you will deal with your anger.
I'm kind of guessing here, so maybe I'm way off base. In that case, please ignore me.