It can be really sad to lose a friend or a friend group, but that can happen for reasons that are completely out of your control. In this case, do your best to take care of yourself and to really think about what you want for your next friendships. Make an effort to take care of your mental health and to find new good friends who are more compatible with you.