1. Remember that you also say or believe wrong things quite often. Do people regularly get upset about it and call you out? Or do they give you grace because they care about you whether you're factually right or wrong? You'll be much happier if you learn some intellectual humility. Even the smartest people aren't right all the time (or even 90% of it).
2. Go to therapy. Learn how to practice intellectual flexibility, graciousness, and humility. Find out if you might have OCPD or be on the autism spectrum (not saying you come across that way, but it's worth discussing). It sounds like you, your wife, or both would be miserable with you constantly looking down on her and being irritated. She certainly deserves better than that.
3. Ask yourself whether you'd rather be right all the time or you'd rather have healthy, fulfilling relationships. You generally can't have both.
I am (much) smarter than the average person and almost never feel the urge to call someone stupid anymore or correct them when they're wrong. Most people are much smarter than you think because you're judging them on a scale you've put yourself at the top of.