If you keep failing, it may be that your routine is at fault. It may be that the way you are spending your time does not support your focus, aims, goals, and dreams.
That sounds like a logical conclusion, and one that's easy to remedy, but often, it's not as easy as one may think especially since our routines involve multiple competing actions, events, and people.
As with any issue, a detailed analysis, reflection, and revision is the path to betterment. Onward.