You know what they say. Windows for your gaming desktop, Mac for your laptop, and Linux for your servers.
WSL2 under Windows is very good these days, you can run ML tasks without much overhead, and Windows 11 has an x server that allows graphical applications to run from WSL2. So for home development, all you really need is Windows (if you game, if you don't or run games that work well under Linux, Linux is the better choice).
For laptop, it very much varies by use case. For general higher level coding and web browsing, M1/M2s work very well. For more specialized use cases, Linux is simply better than OS X.