https://en.m.wikipedia.org/wiki/Transactional_analysis
Personally I've encountered the thing you've described, and think where it went wrong was falling into a persistent parent/child dynamic instead of returning to an adult/adult one. I'm a bit wiser now and can confirm that once you recognise the modes you're falling into, you can shed the (toxic) ideas like "nice guys finish last" and start having deeper relationships.
I think this very modern fear of being dependent on your partner emerged of late because of the way sexual liberalism eroded the security of romantic relationships. Nothing means anything anymore and your partner can leave you at any moment, therefore you have to somehow remain completely independent while leading a relationship.
But at the same time, to truly open yourself and love someone you have to become somewhat dependent on them.