In the US the idea that they will earn tips is the basis for paying wait staff so little.
In other countries, where tipping isn’t generally expected, they earn much better salaries.
It also stifles service above and beyond the minimum. Socialism at its finest.