have it coming

had it coming (to you/her etc) (to be likely to suffer the unpleasant effects of your actions and to deserve to do so; deserve what one receives) — получить по заслугам;

Example 1: I don't feel sorry for him at all. He had it coming. — Мне его совершенно не жаль. Сам напросился.

Example 2: "Terry's very upset about his wife leaving him." "Well he's had it coming to him for years." (CIDI) — ...так сам виноват.

Example 3: You may not like being fired, but you have to admit you had it coming.

USED to say you think someone deserves something bad that happens to them, and this is what you expected to happen

Сf.
[ask for it]
[ride for a fall]
[serves you right]
[sail close to the wind]