see, realize, etc. the error of your ways

idiomPart oferror

see, realize, etc. the error of your ways — idiom

1. To understand or admit that you were wrong and choose to act differently.

1.idiom
Definition

To understand or admit that you were wrong and choose to act differently.

Example

After losing his job, Tom finally saw the error of his ways.

Did Maya realize the error of her ways before she apologized?