mess over

Upper Intermediate (B2) informal

To hurt someone badly by being unfair or dishonest to them.

"His own business partner messed him over by taking the clients and starting a rival firm."