Get the worst of (something)

To be defeated, to receive less benefit than someone else.

The man got the worst of the deal when the salesman sold him the used car.