Hello,
I recommend to try upgrading directly to Windows 11 23H2, the latest version atm using ISO file:
https://www.kapilarya.com/how-to-upgrade-windows-11-using-iso-file
Let us know if this helps!
Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.