Correct

咎由自取

/ jiù yóu zìqǔ / 
Strokes

Definition

to have only oneself to blame (idiom)/to bring trouble through one's own actions

Example

Definition

have only oneself to blame; bring the trouble on oneself; cook one's own goose

1
Rúguǒ
如果
tā
他
kǎoshì
考试
bù
不
jígé
及格
  
,
nā
那
shì
是
jiùyóuzìqǔ
咎由自取
  
。

If he fails his exams, he'll only have himself to blame.