Wiktionary
get what's coming to one
vb. (context idiomatic English) To experience the consequences of one's action.