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
guǒ
如果
kǎoshì
考试
及格
  
,
shì
jiùyóu
咎由自取
  

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