Maybe *The purpose sanctifies means* or *The end justifies the means* (thanks [rahul][1] for the last one).


  [1]: https://english.stackexchange.com/users/1635/rahul