This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
I went off the official path and still landed on a Windows install I’d recommend.
Above and beyond the benefits of a fresh do-over, clean installing Windows 11 improves security, exposes new features, and more. With the Windows 10 end of support date arriving on October 14, ...