expression

To do the dirty on someone.

Theme: integrity Keyword: character

means

To treat someone unfairly or betray their trust (British informal).

Example

His business partner did the dirty on him and took the clients.