Why is Fang Zhijing an elder?

In the latest plot of "Light Me Up to Warm You", Li Di beat Fang Zhijing in an information security contest, which made Fang Zhijing blind in half an eye and was finally sentenced to prison. Seeing this result, netizens can't help asking: With Li Di's IQ, he could have figured out a better way to deal with Fang Zhijing, but why did he choose the worst result and send himself to prison?