MANILA — President Rodrigo Duterte of the Philippines complained on Tuesday that Washington was refusing to sell weapons to his government and said that President Obama “can go to hell.”

Mr. Duterte, who has been angered by Washington’s criticism of his deadly campaign against drug users, threatened to turn to China and Russia for weapons purchases.

“Instead of helping us, the first to hit was the State Department,” Mr. Duterte said in a speech to local officials. “So you can go to hell, Mr. Obama, you can go to hell.”

Mr. Duterte, who took office on June 30, began a war on drugs that has claimed about 3,000 lives, the Philippine authorities say. Many of those killed were people suspected of dealing drugs who were gunned down by unknown assailants and left in the streets. The police say they have killed more than 1,200 drug sellers and users who resisted arrest.