The quote may somewhat incorrectly lead someone to believe that KSA might have voted against the resolution (condemning Russia for invading Ukraine) when the KSA didn't do that. (KSA doing that would have been quite a shocker given how they and the US joined to liberate Kuwait after Saddam invaded, etc.)
The quote comes from a Pakistani Senator, who doesn't like the growing rift between China and the US, as that's forcing Pakistan into a hard choice. (One can only imagine how things would turn out in Pakistan without perennial bailouts from the IMF. On the other hand, Pakistan votes mostly with China at the UN and there is significant China-Pakistan economic cooperation.)
Besides that, in the subtext, the quote is also trying to defend Pakistan as in "look, other Sunni Islamic countries are acting [almost] like us" in re Russia-Ukraine. Which to some extent is true. KSA has been flirting with diversification of their arms suppliers. Particularly since the US has been less and less keen on supporting the KSA war efforts in Yemen.
And "the West" has generally given KSA a head shake on the human rights etc. (See KSA spats with Canada, the Khashoggi issue etc.) So the KSA are also looking for "no moralizing story, please" kind of arms suppliers. (For now, the KSA-China arm deals are much more certain (ballistic missiles, including tech transfer), while the KSA-Russia deals remain more clouded in mystery.)
On the other hand, KSA and Russia are competitors in the sale of oil, but this is actually a blessing in disguise, as the war in Ukraine is good for the Saudis in this regard, i.e. economically. One could jokingly ask: where are the high-minded European going to buy their oil from, since almost every country that's a seller thereof... KSA, Iran, Venezuela, and now Russia is morally problematic for them in some regards. And while the US is less dependent on foreign oil themselves, they are trying to convince the KSA to help out the Europeans, beside wanting to continue to sell arms there themselves. So this puts the KSA in a good position to drive a hard bargain with the West, while indeed keeping their other options open to some extent. As some (FT) have commented, expressions like "don't take us for granted" and "injured pride" can describe the KSA position here to some extent.
The recent Biden visit to KSA was also enabled by the truce in Yemen this spring, for which the US has praised the KSA. Yeah, Putin and MBS have shaken hands not so long ago, but Putin also announced a visit to Iran (the "other side" in the proxy war in Yemen) for July 19, so the KSA probably doesn't see relations with Russia as anything more than transactional. (KSA is generally insistent on having production lines on its soil, especially when it comes to
Russian or Chinese equipment, and his appears to have stalled some of the deals, which looked
impressive in principle, from Kornet anti-tank missiles, TOS-1A thermobaric rockets, or even S-400 SAM.)