Voting with your wallet does work, possibly others don't share in your tastes.
I suspect that the majority of those who play games would rather these mechanics not exist, but don't feel strongly enough about it to boycott those games. I don't have evidence for this beyond my interactions with personal friends and their "mild apathetic unhappiness" for lack of a better term.
There's also definitely a number of people that are willing to accept some compromise to either play a very well-made game, or one that their friends are playing. I hate Epic Games and its practices, for instance, but I'm willing to play Fortnite with friends if they ask me, and I justify that by telling myself that I'm never going to buy anything with their premium currency.