In a lighter vein, you can scold a child of 10 years, but you may not. Scolding is not something that can be measured in terms of right and wrong or good and bad. It usually produces negative results. The aim should be to make the child do things with adequate autonomy (self-involvement). If you visit the website of the World Health Organisation you can find the list of life skills that a child/person has to have for living satisfactorily. The question then would be, is the child being brought up in a way that allows him/her to develop / utilise life skills? We feel like scolding / punishing children mostly because they are not meeting our own expectations. In that, we often do not grant them their individuality in an age-appropriate way. With this as the background, I would suggest you (presuming that you are an affected parent and you would like to have a sincere introspection) to check out if the child is being dealt with in an age-appropriate way, entitled to accept the ownership of the consequences, in terms of life skills. If not, change your strategy from scolding to making the child accountable and responsible for what he/she does and does not do. With this you can expect much better results than from scolding. Making the child accountable and responsible in an age-appropriate way is an essential parenting skill. A psychologist may be able to guide you on improving that skill.
Next Steps
Please try to improve parenting skills with the help of a psychologist.