I would say that the words “we the people” is related to Athenian democracy because of how that democracy is known for letting the citizens participate in direct democracy and by letting every Athenian man had a vote. The words, “we the people” is saying that the constitution derives power from the people, which is essentially how Athenian democracy worked.