Repentance and obedience is what God asks
First, give a problem child what they need, what has been lacking, then evaluate the remaining issues.
Our dog Daisy, all her life, has done what she needs to do, when she needs to do it; I on the other hand, have not -how many times have I needed to go to the bathroom for example, and held it for one silly reason or another. Even p’d myself, pooped myself once or twice as a result. So, when she goes potty on the carpet, and I get angry, WHO DO YOU SUPPOSE HAS THE ISSUE, her or me???