When questioning your intentions as arrogant, entitled, immature vs confident, moral right, correctness. Or even questioning if the Duning Kruger effect is at play.
What process do you incorporate to back-up your self-judgement or in identifying your decisions/choices are in-fact "correct" in online discussions and/or personal life with friends/family.
It's important to look at the reactions you get. If what you're saying provokes discomfort or hostility, that's the time to reëxamine what you just said.
And further, when someone disagrees, try to politely ask why. Most people are willing to explain where you fucked up a long as you don't get defensive.