Peerhaps the idea of democracy came to us from Athens, but the idea of the rule of law, which is at least as important, comes from the Torah, the idea that rulers may not use their position to enrich themselves, and that they are subject to the same laws as the ruled.
Yes, of course it did.