pride comes before a fall

Pride comes (goes) before a fall — гордыня предшествует падению

A person who is extremely proud of his or her abilities will often suffer a setback or failure, because he or she tends to be overconfident and to make errors of judgment.

Поговорка приписывается также царю Соломону