Socrates did not do it because he would never want to oppose the rules of his city. And it was precisely his city that accused him: democratic Athens was afraid of that man not so much because he had "invented" philosophy, but because he was fused into the rules of democracy.
In The Apology, the great man appears who, defending himself, showed to mankind the corruption of the society and the politics of the time in which he lived and the human tendency towards evil while being aware of it. Socrates can be considered as an intellectual hero, a brave and devoted citizen. His voice is now heard by everyone thanks to Plato. Socrates's message is that citizens should react to injustice, deception, hypocrisy, to judges, prosecutors, and corrupted politicians. The crowd should be educated to become aware. Socrates teaches that those who make society will be the wise and the righteous