"Had coming" is an idiom used to convey the idea that someone deserved the negative consequences they received, often as a result of their own actions. There are several synonyms that can be used to express this idea, such as "got what they deserved," "reaped what they sowed," "had it coming," "brought it upon themselves," "asked for it," or "invited trouble." Each of these idiomatic expressions emphasizes the idea of accountability and personal responsibility for one's actions, suggesting that the person in question had ample warning or opportunity to avoid the negative outcome, but chose to ignore it or act recklessly despite the potential consequences.