What you described is how you bet against retail traders. The bet is that they have no edge so it’s safe to run tight spreads and nice pure market making algos that assume random behavior at volume.
But yes, the market maker doesn't run the risk of trading with someone with knowledge and a lot of capital to apply it.