If I had to choose which operating system (Windows, Mac OS x, or Linux) I would go with based on security, I would choose Linux. Currently, I am using an Old Sony Laptop with Ubuntu 20.04 OS on it.
Windows
Windows is continuing to beef up their security and is always updating its software. It is easy to use and is the most popular OS out there. There in lies the problem. Its popularity and large usage, makes it the most common for outside attacks.
MAC OS X
Mac OS off the self is more secure and is less popular to use than Windows. It was that obscurity that helped made it more secure than Windows. Mac OS use to be considered a fully secure OS, but recently has become more targeted for attacks
https://www.solvedcollegepapers.com/product/cmit-140-cmit140-cmit-140-oy
https://www.solvedcollegepapers.com/product/cmit-140-cmit140-cmit-140-em