Changing a mans environment is not the most important thing in changing the man.
He must have a change of HEART.
Without a change of heart, he will suffer spiritual failure regardless of the environment.
With a right heart he can live for God regardless of the situation. The prodigal was in a pig pen, had a change of heart and went home. Adam and Eve failed in the garden and were kicked out.
It was called paradise.
Guard your hearts regardless of your environment.
Create in me a clean heart, O God; and renew a right spirit within me. Psalms 51:10