UAE has shown they don’t care about apartheid. The dictators want Israeli money and weapons and we’re willing to sell out Palestinians and ignore them for their own selfish ends.
And yes, ending apartheid is the only way to have a lasting peace. South Africa was embroiled in waves of violence like this until black people got their rights; and support for terrorism fell overnight.