This is true for me, although I didn’t learn quickly enough.

Once I realized you can’t change people, I changed me.
My internal GPS won’t let me stay in groups that I know are wrong for me, just not why. It’s called Mauerbauertraurigiheit.
As I wrote my way through my youth in a journal, I went to school with some people for up to 17 years. When I had the chance to be included, something I thought would finally endear me into their group, I wouldn’t do it. I realized who they were and knew they were poison and I couldn’t move ahead in life with them as an anchor.
It was the same for almost every group I’ve been in. The thought of being stuck with the same people because of duty was emotionally too great of a burden. I wasn’t there for the right reason. I couldn’t stay anymore.
A very old girlfriend reached out to me recently, but I couldn’t talk to her. It was a relationship that ended badly. I don’t have the desire to relive it again even though we’ve moved on. That is the point though, I moved on.
Lesson learned.