Well if your friend gets something you want and you tried so hard and they got it so easily then next time you have to believe and try SUPER hard.Try to be happy for them but if you get REALLY mad then tell your friend that you need sometime to yourself.
Also one more thing don't be inappropriate that will almost possibly RUIN your friendship
Always keep your friendships as long as you can because one day you might not have them anymore.