The quality of being wayward (=doing only what you want, in way that is difficult to control): (Cambridge Dictionary)
Following one’s own capricious, wanton, or depraved inclinations : (Merriam – Webster)
Following no clear principle or law: Unpredictable. (Merriam – Webster)
Opposite to what is desired or expected: Untoward. (Merriam – Webster)
If you describe a person or their behaviour as wayward, you mean that they behave in a selfish, bad, or unpredictable way, and are difficult to control. (Collins Dictionary)
How wayward youngsters involved in drugs and petty crime finally learnt respect for authority and merciless discipline at the hands of Britain’s premier ballroom teachers.
Loving your wayward child.