https://en.wikipedia.org/wiki/Sortition
Plato's Republic:
Herodotus in his HIstories:Democracy arises after the poor are victorious over their adversaries, some of whom they kill and others of whom they exile, then they share out equally with the rest of the population political offices and burdens; and in this regime public offices are usually allocated by lot.
Acts 1:The rule of the people has the fairest name of all, equality (isonomia), and does none of the things that a monarch does. The lot determines offices, power is held accountable, and deliberation is conducted in public.
Perhaps this is part of an attempt to make the early community appear to be following Greek ideals.23 So they nominated two men: Joseph called Barsabbas (also known as Justus) and Matthias. 24 Then they prayed, “Lord, you know everyone’s heart. Show us which of these two you have chosen 25 to take over this apostolic ministry, which Judas left to go where he belongs.” 26 Then they cast lots, and the lot fell to Matthias; so he was added to the eleven apostles.