Windows 10 was never going to be the last version of Windows. That was said by Jerry Nixon at an Ignite conference, and it was hyperbole.
Still, there's an element of truth to that statement. Commencing with Windows 10, a new version of Windows is released every year, and the number after the word 'Windows' is strictly for marketing. The current version of Windows is Windows 11 24H2. The next version of Windows will be Windows 11 25H2 ... or maybe it will be Windows 12 25H2, because Microsoft knows it can generate some buzz in the marketplace (and some FOMO) by changing the number after the word 'Windows'. That's just marketing.