Hello, this is Emily.
Gaming experience greatly relies on the hardware more than the Windows version. However, considering Microsoft is ending support for Windows 10 next year with no more updates after that, you should definitely consider Windows 11 for that reason, especially for compatibility, considering more games will be moving away from an OS that's not supported then.