Things are extremely unpredictable. No matters how perfect you plan, how hard you try, how you prioritize your tasks, bad things happen and plans are always jeopardize.
One of the main reason is that in real world projects, things are dependent on external things in which humans also come.
No matter how good your plan is, always keep slack time in your plan. Just-in-case something happens you don’t get a failure.