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.
wayward children with a history of severe emotional problems.
曾出现过严重情感问题的任性的孩子们。