Definition
To recognize that one's behavior or actions were wrong and begin to change them.
I hope you can see the error of your ways; otherwise, there is no future for you in this business.
We warned Chris that he needed to stop spending so much money, but it took him quite a while before he saw the error of his ways.
I'd spent a couple of years in prison and I'd seen the error of my ways.