When a person thinks, "I will do such and such, and I will achieve such and such," because of this his plan does not come to be.
Sefer HaMidos, Repentance, Part I §5