I go back and forth between being very arrogant and think that I am better than certain people while at other times I find no good qualities in myself at all. How do I find balance and fix this so I can avoid both of these extremes?

In short, read a very excellent book that tackles how to control such powers.

It’s called : collector of felicities.

https://www.al-islam.org/jami-al-saadat-the-collector-of-felicities-muhammad-mahdi-ibn-abi-dharr-al-naraqi/presentation