The Hamas attack on Israel also threatens to damage relations between Israel and China. Instead of taking a clear position, Beijing exercises discreet restraint. Yet it praised its close ties with Israel until recently. Parallels to the Ukraine war are becoming apparent.