Russia has offered to help China with any potential energy shortfall, as the war in the Middle East heightens geopolitical divisions and threatens global commodity supplies.

“Russia can certainly fill the resource gap that has arisen in China and other countries interested in working with us on an equal and mutually beneficial basis,” Russia’s Foreign Minister Sergei Lavrov said Wednesday, according to comments reported by Russian news agency Interfax.

Russia’s top diplomat also commented on China and Russia’s ability to withstand the economic impact of “aggressive” U.S military operations against Iran, which have sent global oil and gas prices soaring.

“Thank God, we and China have all the capabilities, both those already in use and those in reserve, and those planned, to avoid being dependent on this kind of aggressive adventure [the situation in the Middle East], which undermines the global economy and global energy,” Lavrov told a press conference in Beijing.

Russia’s offer came after Lavrov met Chinese President Xi Jinping in Beijing on Wednesday. The officials reaffirmed Russia and China’s friendship and strategic cooperation. Both sides said the relationship was “unshakable amid any storms.”