expression

You had it coming.

Theme: consequences Keyword: fault

means

Suggests that someone deserves an unpleasant consequence because of their earlier conduct.

also

You have it coming.; To have it coming.

Example

After cheating his customers for years, he had it coming when they stopped trusting him.