The installation of a new Windows version will not delete everything, as long as you choose to Keep personal files and apps during the setup of Windows 11.