Nature vs. nurture is also a popular debate. This scenario you described, even with nature being all there is, doesn't imply all our actions and thoughts are shaped by our environment.