Have (something) coming to (someone)

To deserve punishment for something.

The girl has the punishment coming to her because of what she did.