The only mistake he did was that of having pride in himself. Pride, in Hinduism, has been described as one of those elements which leads a man to his own destruction. Overpowered by this pride in one's greatness and power, he aimed to defeat the gods, which was too high an aim to be achieved.