The most popular game modes in Overwatch and CSGO are their ranked modes. They'd lose much of their playerbases if they didn't have those modes, and you can't really have them without the inclusion of developer-controlled anti-cheat in the client.
And console games did not have server software 10-12 years ago so I think it's a bit unfair to claim that the move away from player-hosted servers was only done for monetary reasons.