Word for feeling threatened or wrathfully jealous because one believes another can be better than they are?
Solution 1:
Pique is a noun which would possibly work here. Pique means a feeling of anger, especially caused by someone damaging your feeling of being proud of yourself.
The Greeks actually had a specific word for the opposite, the gods' word for the human's attitude of daring to challenge them: Hubris.
At some point, the Old English-derived Wrath/Wroth took on an optional connotation of explicitly godly fury at another's audacity.
(While now unpopular in psychology, in the mid 20th century, we might speak of Malignant narcissism).