Are taxis allowed to deny service to paying clients?

I thought a taxi to my house is cheaper than a DoorDash delivery to my house. But their earnings are so low, they might deny me service.

Are taxis allowed to deny service to paying clients?
Post Opinion