Why did the British establish colonies in Africa?

The oldest reason in the world: land equals power. I guess you are right but colonizations was mainly due to greed.When gold or diamonds was discovered imperial powers was already half way there.South Africa is a good example,2 x wars were fought over gold in South Africa.Lesser causes were strategic importance (shipping),procurement of labor(slaves),produce ect.