I used to think like this but then I actually went on safari. There are whole villages made up of mud huts, barely any food, limited water resources. The elephants go through the villages and wreck the buildings, drink all the water, are generally pests. The lions kill and eat entire farms of sheep at a time. These are peoples lives and livelihoods wiped out in a night.
The local people often want to take matters in to their own hands.
A lot of places now run conservatories whereby they charge wealthy westerners huge amounts to kill a very very small proportion of the wildlife. In return, this is ploughed back in to the local villages to help the cost of what the local people are experiencing.
I don’t agree with hunting, but it’s a far more nuanced and complicated issue than just saying that SA is ok with killing endangered animals.