expression

To mend one's ways.

Theme: change Keyword: change

means

To improve one's conduct after behaving badly or irresponsibly.

Example

After being warned about his reckless driving, he promised to mend his ways.