Have it coming (to someone)

To deserve punishment.

The man has it coming after causing many problems in his company.