What is the effect of the following sentence?

I made a resolution to eat a healthy diet.
I bought fruits and vegetables.