In rivalry both think other is lower and its true that same rivalry damaged Islam.It was a full blown tribal rivalry
Still I would not include Hazrat Ali r.a. as having any such feelings of superiority against anyone.
I say all this by reading his life history.
He had a strong personality, he had character that can be trusted with closed eyes. His strong character was passed on to his kids as well. They were all clean of rivalry games.