The Bible says to know that through all this feeling you're not alone because you have God. This feeling is caused by jealousy. Isaiah 41:10 says to know that God will help you and give you strength.
Like scientific, psychological states that the brain automatically jumps to state of unwanted from jealousy. When someone else gets attention instead of you, unwanted is the feeling along jealousy.