Windows 7 FREE extended support ended on January 14 2020 and the edition on the computer you purchased is Home which is not eligible for Extended Security Updates [paid support per machine for Professional and Enterprise editions]...
Even though Microsoft officially stated they have ended the free Windows 10 upgrade for eligible Windows 7 and Windows 8.1 editions back in 2016, there are others that do a clean install of Windows 10 and use the corresponding product key of their Windows 7 or Windows 8.1 install and it worked, provided that you use Windows 7 Home Basic/Home Premium for Windows 10 Home and Windows 7 Professional for Windows 10 Pro, and Windows 8.1 Core/Single Language for Windows 10 Home and Windows 8.1 Pro [as well as the Pro with Media Center] for Windows 10 Pro...
Free upgrade to Windows 11 is only available to Windows 10 so you need to upgrade first from Windows 7... Also, whether you clean install Windows 11 or upgrade to Windows 11, assuming the computer is not compatible with the set requirements by Microsoft, you will need to do some workarounds for the install to be successful...
If the installed version of Windows 7 is 32bit, you will need to install the 64bit version first [if you're going to upgrade Windows 7 to Windows 10 then to Windows 11] since Windows 11 is only 64bit, assuming the computer has 4GB RAM or more...
If your main consideration is compatibility with the latest software versions, go with Windows 10 since it is still supported until 2025... If you are adventurous and can handle the workarounds and is okay to keep up/live with bugs/incomplete features, go with Windows 11...
If you no longer want Windows on the computer and want to try something else, you can go with a Linux distribution and I recommend you start with Linux Mint 20.3
If you want another macOS device and has the know-how, you can convert that into a Hackintosh build...