In the sense of "don't be arrogant".
You can say:
If you need an idiom, you can also say 天狗になるな (lit. "Don't become a tengu").
According to Wikipedia:
The tengu of this period were often conceived of as the ghosts of the arrogant, and as a result the creatures have become strongly associated with vanity and pride. Today the Japanese expression tengu ni naru ("becoming a tengu") is still used to describe a conceited person.