One of the things I really like about Linux is that while I currently stick to a pretty much stock Ubuntu 24.04.1+patches+updates with NVidia CUDA 12.x stack is that you do have the option of swapping almost every default component save for the NetworkManager and systemd themselves. With Linux, you have options, should you need or choose to use them.
The "kitchen sink" approach used by other operating systems leaves them more vulnerable, because miscreants know for sure which tech stacks are going to be running on machines that identify with those OS strings, while with Linux there is some doubt and variation. No wonder Windows, Mac, Android, and iPhone technologies are the vast majority of attacked operating systems out there.
Yet it costs you virtually nothing to learn and run Linux. It's reliable and stable and easy enough for a base installation without the gaming support to easily replace the typical home user's desktop experience when Windows 10 support is no more and your machine becomes a malware infested almost-brick due to lack of support from Microsoft.