Through being “right”, you feel superior and through feeling superior you strengthen your sense of self. In reality, of course, you are only strengthening the illusion of ego.