The 9x variants of Windows were always kinda bad. However, all the 64-bit NT variants of Windows were pretty solid, as they were all based on Windows Server. Even Windows Vista was quite good if you were using the 64-bit version after SP1.
I've never had stability problems with Windows. The problems with Windows are the performance problems, the weird bugs with the filesystem that have been there for 30 years, the enshittification, the removal of features, the shitty security record, bullshit proprietary tech that doesn't work properly in the OS.