I have been on both sides of this impact. For a long period of time, I tried isolating my personal & professional life but it doesn’t work at all.
If things are good in your personal life, it will impact the professional life & vice versa. Then I started accepting it and actively trying to manage it.
Marriage is a very big factor, it’s a make or break decision in anyone’s life. I feel bad that people don’t take it seriously. It is THE most important project of your life and you start working on it the time you become an adult, a good 4-5 years of effort is needed to land a successful marriage. Even if you want to do an arranged marriage, working on your own before that helps a lot, your goals, lifestyle, fitness, savings everything.
And at the risk of being utterly obvious, the best thing you can do to yourself is cut ties with people who don’t make you feel good. Living alone is much better than being with negative people.