Lying is also a means (to an end).
Used to suggest that lying could be a solution to a problem.
The end justifies the means.