I believe we have to look at the Middle East from a multitude of angles, not just in a binary yay-or-nay.
The following is a very simplitic (and possibly naive) thread of me describing the Middle East affairs, so do take it with a grain of salt.
I think we all know that Saudi Arabia, Iran and Israel have been locked in a three-way Mexican standoff... sort of.
On one hand, Saudi Arabia and Iran hates each other due to their Sunni-Shia split, which dates back more than 1300 years ago. Iran, firmly backed by Russia, sees Saudi Arabia as being a US puppet and secretly having affairs with US-backed Israel. Riyadh and Tehran are also locked in a bitter struggle for leadership and supremacy in the Middle East, evident by them backing opposing sides in the Yemeni and Syrian Civil Wars, for instance.
On the other hand, Israel hates both Saudi Arabia and Iran (and vice-versa) thanks to the Palestinian conflict. However, unlike Tehran which has already sworn Tel Aviv to be her worst enemy, Riyadh still maintains some sort of unofficial, backdoor-ish relationship with Tel Aviv under the monitoring of Washington DC (which is the primary backer of both countries in the region against Iran), albeit Riyadh still stands with the Palestinians on the Israel-Palestine conflict agains Tel Aviv, similarly to Tehran.
We also shouldn't forget to mention that in the backdrop of all these is the US-Russia rivalry for regional supremacy in the region, which itself is a continuation from the Cold War, i.e. US-Soviet emnity. Despite this, in recent years, Saudi Arabia and Israel has also seen approachements by Russia in the region.
However, there is less of an amicable atmosphere WRT Israel-Russia relations, considering the conflicting interests between the two countries in the Syrian Civil War. At the same time, Russia is having increased cooperation with Saudi Arabia, which also plays a key role in the formation of OPEC+ and their coordination against the US as shown by their recent joint-oil production cuts.
For China as a complete outsider in the ongoing Middle Eastern Cold War, Beijing would have to thread the lines carefully. This is considering that:
1. Saudi Arabia is the largest oil supplier for China, and is also a major Chinese arms buyer especially in recent years;
2. Israel cooperates with China on many scientific and technological R&Ds, despite standing against Israel and with the Palestinians; and
3. Iran is a major oil supplier for China, plus China (alongside Russia) also backed Iran in face of the US-led confrontation.
Therefore, I think that China would be (and have to be) managing her Middle East diplomacy very carefully, because it would not be in the best interests for China to anger any side for as long as possible, since she would need whatever international backing and support that she can muster in the face of US-led Western adversarial confrontation in the Western Pacific and across the world.