One of my family’s favorite movies is Trading Places with Eddie Murphy, Dan Akroyd, and Jamie Lee Curtis. The two wealthy brokers bet one dollar on what is more important one’s environment or one’s breeding. If you haven’t seen it – do. It is wonderful.
I think the answer does come out in the movie although others may disagree – that environment may color but does not mold the character. It gives nothing but a veneer coating, but the natural wood will eventually show through. The hero is not hidden in the slums, the scoundrel cannot hide amongst luxury. We are creators of circumstance, not creatures.