Feeling jealous of others' apparent social success is natural but often based on incomplete information. Social media and public appearances don't show the full picture of people's relationships - they might have many acquaintances but few close friends, or their relationships might be more superficial than they appear. Instead of comparing, focus your energy on building the types of connections you want.
Remember that quality matters more than quantity, and everyone's social needs are different.