Let's be clear.
If your friend seems to get a girlfriend who's a great catch, you'll congratulate him if you're a friend. You'll playfully tease him and play wingman if you're a great friend. If you get mad at him for having something better than you, you're an asshole.