hopefully they’ll understand , you can make new friends during your classes to sit with ^^ I’m sure they’ll want to be your friend. If you do get sad about the whole thing , just know things will get better
when I had to get rid of a toxic friend , I explained to them why they were toxic and that I couldn’t continue to be friends with them , then kindly said that we could part ways without any problems ^^”