How to deal with someone who feels like they have to be right about everything?

I had an internet friend who had to be right about everything. I won’t bore you with the detail but I caught her in many lies. When I prove her wrong she would say I’m too stubborn to admit I’m wrong. On occasion she would tell me I’m right about something but probably 95% I’m wrong in some sense.

Ultimately we had a falling out over something really stupid. I proved her wrong and I am apparently toxic in her eyes. I not happy with myself that I let this go on for too long.

What would you do or what do you do with people like this?
How to deal with someone who feels like they have to be right about everything?
Post Opinion