Historically, 4% withdrawal rate is likely to last you at least 30 years with funds invested.*
Currently people are pessimistic about stock market returns going forward so it could be lower (3-3.5%). And even lower if you want it to last longer than 30 years.