My dear, you have really tried in exploring all the factors and I agree with you because these factors all come into play in a child's upbringing.
But if the parents do their part diligently to raise the child in a fairly good environment and that child still misbehaves, then the fault lies with the child.
Yes, of course, it is the child's fault and would definitely go through the repercussions until he or she goes back to the right path.
That's true