It costs a lot of money to run an empire.
Many of the beneficiaries of the empire are the common people.
They benefit through trade, suppression of tribal wars, enforcement of laws against murder, theft, etc.
Essentially, enforcement of the rule of law benefits the large mass of people.
British colonies in Africa have kept the British system of education for a reason.