Hello MMkm, and thanks for sharing.
I also had problems with isolating when I became an adult. It took me longer than you to work on that issue, but I slowly did exactly what you mentioned. Now I enjoy my friends, and have become much better at avoiding toxic people.
Mike