If you're with a group of friends that check off all the boxes for being immature, talk to them. Explain that all of you need to start growing up and focusing on your adult futures. If they absolutely refuse to change, you might become the friend that outgrows them. But, don't worry. You're going to make new friends that better fit with the new mature you.