Question: why sophocles wrote oedipus rex?
Answer: Sophocles is trying to show keep peace between Thebes and Colonus. He is trying to show that a democracy is less likely to start a war than one ruler because war does nothing for the people except kill them.