Hello
Windows 11 Version 22H2 has already reached end of support some time ago. In between, you are missing V23H2 (which also is discontinued), V24H2.
When a version has reached end of support, there's no way you can update it via Windows Settings.
At this point, you may or may not be able to update it via the installation assistant. worth a try:
https://www.microsoft.com/software-download/windows11
Download the installation assistant tool, and run it and upgrade it from there. If it doesn't work, sometimes due to the gap in between is too big, then your only option is backing up your files and do a clean install.