White people who lived in Africa wanted to segregate anyone who was of color and prevent them from participating in cultural and political activities. The apartheid laws were introduced which banned things like interracial marriages, enabled the existence of places where certain races were forbidden from entering, preventing employment based on race, and similar things.