They all said yes
Well, if everyone in the class said that their lives would be better without you in it, don’t you think that maybe you may be at fault here? Perhaps you are terrorizing the class and your friend was just trying to put you on the spot to show you if you didn’t know it already.
Or maybe that friend is trying to embarrass you badly because they have some unresolved issue towards you. We don’t know, but all we are saying is that if everyone in your class has a problem with you, maybe you are the one who is at fault here. We’re just saying.