No, I think it's very simplistic. Infact we would strike gold if Paki gets fully reliant on China and Chinese tech. Don't discount that we are going to grow also and our defense ecosystem will also keep getting better. The way China can arm Pakis, we can arm China's neighbours in future too! (Like Brahmos to PH, I suspect we've dealt with Vietnam too). China has no dearth of adversaries!
Only thing is Pakistan should always be kept simmering and should not be allowed to grow. It should become a proper vassal state surviving only on breadcrumbs thrown by China. Unlike US, China is VERY VERY stingy with money. A potential rival to US does not come cheap, just imagine what will dependence of a state with 300M jihadis cost to China! (Juicy thought
)
All this while we ourselves are focusing on our own systems! Do you think China can match our defense expenditure on behalf of Pakistan every dollar to dollar?!
So I don't it think it as a detrimental move at all. Infact best move. Pakis getting any other fighter from the west or any other country would have been a headache for us. Their cooperation with the west needs to be cut down more, just slowly let them put their eggs in one basket.
We need to persevere and fix our own shit. We'll be okay.