Doing "the work" will be key to having healthy relationships, including having a healthy relationship with yourself but it will also be key to ensuring that you don't project onto others your own inner struggles. 

Accepting what is, is the first step in your healing journey.