After being close with a multitude of people that were improperly socialzed -- and a multitude of people that were propeely socialized -- I'm not going to put myself in lower quality relationships "out of the goodness of my heart and soul" anymore.
It is dependent on the hardship though, and if the person recieved social support from his support system (f.e combat service in the military, growing up poor but very good family and values, etc.). Barring that, I'm more than likely going to be scarred emotionally by people that didn't learn how proper, healthy relationships look like, and it's a "we" not a "you vs. me."
But I can say with confidence that I don't let my own problems negatively affect the people I care about. I've worked hard to get to here, because I know firsthand how it affects people.
If such person would harming me or my kids, I would stay away. But not just because their life was tougher then mine.