In the first place, even though the education is free, that is funded through gov taxes which is again the money of the public who get that education. It's not the money of the rulers.
I don't know where you got your info regarding the degree and education rates in the developing countries...