Your environment during your early formative years, yes. By the time you're in your mid-late teens, your moral reasoning is already pretty much solidified (and really it's more about clan loyalty than morality at that point - although we often conflate the two when it comes to inter-clan conflict).