The speech given by Socrates as part of his defense is by no means a defense. In a typical defense, it would be expected for the accused to give reasons and even evidence of why he is not guilty of the crime that he is accused of. This is by all means what Socrates does. Instead, he defends himself in a manner that he condemns himself to death as punishment for the crime he is accused of. His actions are condemnable from the perspective that they went contrary to his teaching about justice and virtue. He appears to have gone against his own teachings when he had the chance to practice what he preached.
Appearing before the Council, Socrates was given the chance to defend himself and leave it to the discretion of the court to decide whether he was guilty or not. However, he uses this chance to incriminate himself and set himself up for the death sentence. His actions also go contrary to what a normal human being would be expected to do when faced with death. On the contrary, he is not afraid of death, and even appears to be prepared for it. He appeared to want to prove his point by letting himself be found guilty and sentenced to death. Typically, he would have given reasons for what he did and explain why he should not be prosecuted.