Great question!
Perhaps we are often drawn to people similar to our parents because that is our "comfort zone". We already know how to interact with those type of people.
But, to be truly healthy and happy, we need to learn how to build friendships with the people who represent the type of person we
want to be. That can be quite uncomfortable at first, but so much better in the long run.