Everything done without consideration is very quickly evil. Free tragedy of the commons with every free market; equivalents of Malthus for poverty wages and zero profit margins in the economy; Nash games where all parties want to defect and want the other not to; AI optimising for paperclips.
Rule of law is a pillar, but not the only one — in an ideal case the laws themselves are bound by constitutional requirements, and the constitutional requirements are bound by democratic will, and the democratic will by freedom of speech, and the freedom of speech by a requirement for at least attempting to be honest.