Dictionary.com
Thesaurus.com

get what's coming to one

Idioms  
  1. Receive what one deserves or is due, especially something unpleasant, such as a punishment or rebuke. For example, When they suspended Steve for cheating, he was only getting what was coming to him.