A good lawyer knows the law. A great lawyer knows the judge.
Explanation: This joke plays on the idea that while a good lawyer is knowledgeable about the law, a great lawyer has the advantage of personal connections. The punchline humorously implies that knowing the judge can be more influential than just legal expertise, highlighting the importance of networking in the legal world.