Java is catching up quickly. I say that as a .NET-focused dev, who touches Java once a year.
The GUI roadmap is becoming a joke, now they are pushing for Blazor on Web Widgets as Electron alternative alongside MAUI, with a "pick whatever you like best".
This doesn't work like that when selling long term solutions to customers, specially when we still have UWP scars to take care of.
It feels that after WinRT failure to take over the world, they are unsure where to go next, and throwing into all directions to see what sticks.
I think it's fair to say that the .NET team absolutely has a vision and has made significant progress towards achieving it so far as web (frontend/backend) development is concerned, despite how ridiculously lacking the desktop UI story is/has been. (In fact, it's even worse than that since 10 years ago, .NET was the only ecosystem that had an excellent and comprehensive story for UI development that was supported from start to finish.)