Welcome to iPhone Forums!
After restoring, you don‘t have to install the firmware manually. Usually, the iPhone either downloads an update on its own, or iTunes on a computer does this, if you choose to go this way.
If you‘re trying to download the wrong iOS version via iTunes, your computer will “tell” you that this device is not eligible for the requested build. The only versions you can install at the moment, are iOS 16.2 and 16.3.