South Africa gained its independence from Britain in 1910. Why did this not led to freedom and equality in South Africa

(No internet answers please I will lose points, pleas and thank you)