The Apology is Plato's account of the speech Socrates gave in his own defense before an Athenian court around 399 BCE, charged with corrupting the young and not believing in the city's gods. It is not an apology in the modern sense of regret but a defense, a justification of how Socrates has lived. He opens by disowning the polished style of his accusers and asking only to be judged by the truth of his words.
Socrates first answers an older, vaguer slander: the long-standing rumor that he is a meddlesome speculator who makes the worse argument appear the better. He explains the source of his reputation by telling how his friend Chaerephon asked the oracle at Delphi whether anyone was wiser than Socrates, and the oracle answered that none was. Puzzled, since he knew he had no great wisdom, Socrates set out to test the saying by questioning those reputed wise.
His search through politicians, poets, and skilled craftsmen yields a consistent result. Each believes he knows far more than he does. Socrates concludes that the oracle meant that human wisdom is worth little, and that he is wiser only in this: he does not imagine he knows what he does not. This lifelong cross-examination has made him many enemies and lies behind the formal charges now brought by Meletus, Anytus, and Lycon.
Socrates then questions Meletus directly, exposing the charges as inconsistent, and refuses to beg or flatter the jury. He compares himself to a gadfly sent by the god to sting a sluggish but noble horse, the city, into wakefulness. He will not give up philosophy, for the unexamined life is not worth living, and he will not desert the station the god has assigned him out of fear of death, which no one can prove to be an evil.
Convicted and sentenced to death, Socrates declines to plead for mercy. He tells the jurors that the difficulty is not to escape death but to escape wrongdoing, which runs faster than death. He treats his end calmly, reasoning that death is either a dreamless sleep or a passage to the company of the dead, and that no evil can befall a good man in life or after it. He departs to die while his judges depart to live, and which of them fares better, he says, only the god knows.