No municipality shall receive from the county treasury of any county in which the municipality is situated in whole or in part, any greater proportion of the surplus of all taxes which may be collected for county purposes, than any other municipality within the county.
65 ILCS 5/8-3-10