You give them enough free market so that the most intelligent ones get more money and create more wealth and you give them enough government intervention so that the Gini-coefficient of national income distribution is not that high.
Apart from what myrkul is saying, here you are supposing governments are a force towards equality, you are supposing that politicians actually take from the rich to give to the poor (in simple terms). What we see in reality is the opposite. Governtments are a force that creates more inequality by favoring the corporate budies of the politicians at the expense of the middle and poor classes, that are left with no oportunities, expensive prices and some defective government minimum services so they dont die and can keep working.