You may use Windows 7 still according to your license. You may use Windows 10 with your old hardware. But Microsoft blocks new Windows 10/11 installation activation using Windows 7 product keys. New hardware requires a new license in your case.
Please note, license allow you to use licensed Windows eternally but does not mean eternal upgrade to new Windows versions.