I’ve seen it mentioned here a lot w.r.t. freelance web developers, but my friends in the trades are aware of it too. Be expensive. It filters out the terrible customers and gets you people who are willing to pay (and wait) for quality work. The difficult part, I think, is knowing your market well enough to know what that threshold is. There is a lot of hysteresis in pricing - you can easily be too expensive for the cheap customers, but not expensive enough to make up for the reduction in paying jobs.
The hard part is you have to know your market really, really well. And you may not be able to apply that model to every job. No matter how rich your customer is, they’re probably not going to pay $1000 for you to change a lightbulb. On the other hand, there are plenty who will pay you $20k for work that your competition is quoting $5k for.
And the closer your chosen field is to art, the greater that gap can be. If you want to be a baker, you can’t compete with grocery stores for the $30 birthday cake market, but you can make $6k wedding cakes and corporate event cakes. You might only make one cake a week, but isn’t that better than having to crank out 200 sheet cakes with terrible baby pictures printed on them?