( formal or humorous ) to realize or admit that you have done sth wrong and decide to change your behaviour
SEE, REALIZE, ETC. THE ERROR OF YOUR WAYS
Meaning of SEE, REALIZE, ETC. THE ERROR OF YOUR WAYS in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005