get\ what's\ coming\ to\ one

get\ what's\ coming\ to\ one
or slang get one's
v. phr.
To receive the good or bad that you deserve; get what is due to you; get your share.

At the end of the movie the villain got what was coming to him and was put in jail.

John didn't think he was getting what was coming to him, so he quit the job.

Mother told Mary that she'd get hers if she kept on being naughty.

Compare: catch it, have it coming, serve smb right

Словарь американских идиом. — СПб., Изд-во "Лань". . 1997.