South Africa’s foreign ministry said that that the global community should hold Israel accountable for breaches of international law