Is it a bad idea to go back to a group of friends no matter what?

Just wondering about future situations. Recently, I went back to a friend group and a girl I talked to a lot. Both have made me incredibly frustrated and annoyed. For instance, the girl was an ex of mine and she couldn't be friends and she mentally used me basically every day. The group of guys just talk sh*t on everyone at my job. During hangouts, they just smoked and blasted rap music videos. I don't know about you, but that was the most boring thing I've ever done. I don't smoke or watch videos of music. No slander on them but they basically called me lame if I didn't like it then brought up every mistake I've made and used it against me. Luckily they all work at a job I am quitting and I don't have to talk to them ever again. But Was it a mistake just going back? Is it a thing to not go back?
Is it a bad idea to go back to a group of friends no matter what?
Post Opinion