Henry David Thoreau said this quote

The lawyer's truth is not Truth, but consistency or a consistent expediency.