Why did South Africa colonized Namibia?

why did south Africa Colonize Namibia