It's true that most times, children who are said to be brought up in a proper environment turn wayward along the line but I am very sure in most cases, those characters are hereditary, either from the dad, mum or even relative.
We were all once at a point in time a child and have been in such stage, so we should be able to tell more about the experience of children in the society and means they learn, grow and adapt in the environment as a matter of fact, the best we could give them is to invest in them what will make them a better person tomorrow, because children are the leaders of tomorrow, we must train them at all expenses to us to have rest tomorrow.