China's official state news agency is pushing back against President Trump after he targeted Beijing on Twitter for not doing more to rein in North Korea.

"Trump is quite a personality, and he likes to tweet,” Xinhua said in an editorial, The New York Times reported. “But emotional venting cannot become a guiding policy for solving the nuclear issue on the peninsula.”

The editorial said the U.S. should not keep "spurning responsibility" for the situation in North Korea. It also said the U.S. should not "stab China in the back."

ADVERTISEMENT

The news agency warned that "taking out this outrage on China is clearly finding the wrong target."

“What the peninsula needs is immediately stamping out the fire, not adding kindling or, even worse, pouring oil on the flames,” Xinhua said.

The editorial comes after Trump took to Twitter over the weekend to express his disappointment with China over its handling of the North Korean threat.

"I am very disappointed in China. Our foolish past leaders have allowed them to make hundreds of billions of dollars a year in trade, yet ... they do NOTHING for us with North Korea, just talk," Trump tweeted.

"We will no longer allow this to continue. China could easily solve this problem!"

North Korea last Friday launched its second ballistic missile in less than a month, raising concerns about Pyongyang’s abilities to strike the U.S. mainland.

On Monday, Trump expressed confidence the U.S. would handle the situation.

“We’ll handle North Korea. We’ll be able to handle North Korea. It will be handled. We handle everything,” Trump told reporters during a Cabinet meeting at the White House.