Yes, afaik white SA didn't actively intend to purge the country of non-whites.
Most ppl would say that the SA apartheid regime would be intolerable in the modern world.
But Israel is an openly racist state, with a far worse system of segregation - and thats completely fine.