Microsoft doesn't immediately discontinue things. Windows 7 worked for a long time before software/hardware started depreciating certain aspects. I think 8 still works, but who would want to use that.
10 will work for the next 8 years(and 11 might not even bring any new features that developers and manufacturers care about).
Some things that come to mind: if it's possible to mod the OS of a MacOS to remove their intrusive/consumer unfriendly features then their products are better than Microsoft. Spend the money that you would spend on a Win11 licence on a better CPU and use Wine on Linux(I like Ubuntu) to overcome the additional CPU cycles it requires to run.