I know two people who moved in opposite directions, based on the same type of experience, but from different starting points.
#1 was a lifelong liberal who got a job in the school system, teaching the Homebound (kids who were sick and/or disabled, and were taught at home). She got a lot of exposure to inner city kids and their families and lifestyles, and came to see many of the problems they faced as being largely of their own making.
#2 was probably what you’d consider a racist, who mellowed out somewhat by becoming - of all things - a slumlord. As a result of his experiences with his tenants and their lifestyles, he came to the conclusion that most of these people were doomed by their surroundings, and the ability of any individual to rise above it was very limited. (For example, he had one tenant who he considered a good and decent person - and he is convinced that the guy was turned down for a mortgage because of his ethnicity - but who was unable to prevent his son from hanging with what was or became a drug gang, and eventually dying in a gang war.)