заслуживать(often said about someone who deserves something bad: You may not like being reprimanded, but you have to admit you had it coming.shergilov)
напроситься(A lot of men think that way. They think it's the woman's fault. They
like to blame the rape on the woman. Say, "She had it coming, she was
wearing a short skirt."4uzhoj)
самому напроситься(She has always been late for work, so it's no wonder that she got fired – she just had that coming. / Neither me nor mom like punishing you, but you have it coming to you. TarasZ)