Having positive habits doe not mean that you will succeed every single time. Hower, in the long run, there is no doubt that you will achieve all your goals and be successful.
The law of sowing and reaping states that you reap what you sow. If you are always sowing good positive actions, the only logical result will be success.