MOSCOW — Upon learning of the violent death of the United States ambassador to Libya on Wednesday, many Russians responded with variations on “I told you so.”

Russia has long argued that the West should not support popular uprisings against dictatorships in the Middle East lest Islamic fundamentalism take hold. Vladimir V. Putin, then serving as prime minister, was especially enraged last fall after an angry crowd killed his ally, Col. Muammar el-Qaddafi, an event he later condemned as a “repulsive, disgusting” scene.

Since then, Russia has blocked Western initiatives to force Syria’s president, Bashar al-Assad, from power despite a bloody crackdown on the opposition. Russians’ responses to the storming of the American Consulate in Benghazi underlined the deep policy divide. A prime-time news report pointedly juxtaposed images of Ambassador J. Christopher Stevens’s death with Colonel Qaddafi’s, pointing at their similarities, then cut to footage of Secretary of State Hillary Rodham Clinton reacting to the Libyan leader’s death with a cursory “wow.”

Mikhail V. Margelov, chairman of the foreign affairs committee in the upper house of Russia’s Parliament, said that passions had been stoked by the uprisings and that they “splash out in the form of terrorist acts or massacres of nonbelievers or an attack on embassies and consulates.”