Socrates wrote nothing down, preferring to debate with others in order to draw out knowledge. The Deplhic oracle described him as the wisest of men, because he knew that he knew nothing. Socrates linked wisdom with virtue and saw his own way of life as unassailably just.
In ‘The Apology’ we get “an account of the speech Socrates makes at the trial in which he is charged with not recognizing the gods recognized by the state, inventing new deities, and corrupting the youth of Athens. Socrates’ speech, however, is by no means an “apology” in our modern understanding of the word. The name of the dialogue derives from the Greek “apologia,” which translates as a defense, or a speech made in defense. Thus, in The Apology,Socrates attempts to defend himself and his conduct–certainly not to apologize for it.”