Definition
to decide not to do something after initially considering it; to change one's mind about something.
She was going to tell him the truth, but then she thought better of it.
I had planned to buy that jacket, but I thought better of it because I already have many similar ones.
I was tempted to quit my job on impulse, but I thought better of it.