Different people can go through the same thing and internalise what they've been through in very different ways.
The best people, the ones most worth having as a romantic partner are the sort that become better with time, regardless of what they go through.
Put them through hardship and they come out the other side stronger and with the ability to appreciate the good times even more.
Put them though harmony and luxury and they will use that time to work on themselves or work on contributing towards making the world a better place.
Give them terrible role models to live with and they will learn lessons from watching the mistakes of other people.
Give them good role models to live with and they will adopt the good features of their role models.
There may be statistical trends about people from broken homes. But we as human beings can be complex. It's the exceptions - the outstanding people - that you want to look out for.
It's down to you to screen the people that you meet. Look for people that are like a strong tree. The wind might blow them to crazily bent over angles, but they have inner strength in their core that allows them to withstand this, combined with some flexibility. They might go through harsh winters in which they are not productive, but come the spring they blossom and bloom.
Whereas other people, at the first sign of trouble, they fall to pieces.