You are missing market return sequence and dividends.
2015 the SP500 had close to zero growth, but paid out 1.5% of the total price in profit to shareholders (dividends). Those total are re-invested when your stash.
When your growth happens and your returns are super important too.
If you have 100k and want to withdraw 4k per year, the market can do +7,+7,0,0,-3, -4, -7, +20 for a net change of +20 over , but your actual amount will be
If you suffer a worse arrangement, the total goes down much further.