咎有应得

jiù yǒu yīng dé

(idiom) to deserve what one gets (punishment, mishap etc)

jiù

fault

yǒu

to have; there is

yīng

to agree (to do sth)

to obtain