China is putting a face on the economic pessimism it accuses of helping weaken the yuan and the economy: billionaire investor George Soros.

A front-page commentary published in some editions of People’s Daily on Tuesday appeared to warn Mr. Soros would lose any bets he made based on a recent prediction that hard economic times for China are “unavoidable.”

Other...