It is the duty of the parents to be an example to their children and advise them. Allah (Subhanahu Ta’ala) tells us of the advise that Luqman Hakeem gave to his son, “Behold, Luqman said To his son by way of instruction: “O my son! Join not others with Allah; association with Allah is indeed the highest wrong-doing.”
Then after some ayaat, the advise continues,
O my son! If there be (but) the weight of a mustard-seed and it were (hidden) in a rock or (anywhere) in the heavens or on earth, Allah will bring it forth; for Allah knows the finest mysteries, (and) is well-acquainted (with them).
O my son! Establish regular prayer, enjoin what is Just, and forbid what is wrong; and bear with patient constancy whatever befalls thee; these are affairs of determination.
And swell not thy check (for pride) at men, nor walk in insolence through the earth; For Allah loveth not Any arrogant boaster.
We can recall not to long ago in our Muslim culture that all the grown-ups in the community would take the role of guiders for the youth. No child dared acting up in front of elders in any gathering. All the elders held enough authority that they could discipline the child without having to face the wrath of the parents as is the case today.
Parents find out too late that what they thought was giving ‘freedom’ to their children was really digging a hole for them. Being affectionate to your child is one thing but to let them free to do anything is not affection rather it is hurting the child.