Not at all, if Pakistan was in China's position, Pakistan would be doing the exact same thing, and should be.
Nation's should look after themselves first, so I will never blame China for doing what is in Chinese interests.
Having said that, the issue exists, whether we like it or not. Importing foreign goods, instead of local goods, may be good for importers, but exporters and local industries suffer due to the increased competition, especially in the foreign supplier is far superior in both quality and scale.
So yes, I do agree that nations do benefit from importing from China, but depending on how the trade relationship is, those benefits may not be enough to offset the disadvantages, especially for local suppliers.