Statements and lies in court – truth and duty?

Who wins court cases? The clever lawyer with the law book in his hand? Or the one who has convincing „evidence“?
Who wins court cases? The clever lawyer with the law book in his hand? Or the one who has convincing „evidence“?