Everyone writes differently. Some outline each chapter so they’ll have a decisive path to follow. Others will have a loose outline from beginning to end in order to retain a little wiggle room for plot changes as they write. There is no right or wrong, it’s whichever method you choose that makes you comfortable. Me, I tend to fly by the seat of my pants, letting the wind dictate my direction. I still retain the right to override any decision and maintain first rights to dismiss the wind and any other nondescript faction that would send said manuscript awry.
If you write like I do (staring at a blank page while an idea ferments and then presents itself), I have a question. Have you ever started a manuscript and within the first two chapters the ultimate ending pops into your head? The only problems are the particulars necessary to round out the climax to an unforgettable event. Hopefully, you can discern all the particulars by the time you hit the last chapter. If not, you’ll certainly have them by the time you finish your multiple edits and rewrites…just saying.