Huh? Spyware, ransomware, etc. is a dangerous problem on rooted phones. It's the unrooted ones that have protections against it.
If you root your phone and install apps, your apps can do anything and spy all they want.
So the comment still makes zero sense.
OP was arguing that unrooted phones are somehow less safe, which is absurd.