This is why Socrates said to someone who reminded him to prepare for his trial: "Don't you think I've been preparing for it my whole life? How have I been preparing? I've focused on what was in my power. And what does that mean? I've never done anything unjust in my private life or my public life."
Therefore Socrates said to one who was reminding him to prepare for his trial, Do you not think then that I have been preparing for it all my life? By what kind of preparation? I have maintained that which was in my own power. How then? I have never done anything unjust either in my private or in my public life.