If we do wrong and no harm comes of it, we are not thereby justified. If we did evil and good came of it, the evil would be just as evil. It is not the result of the action, but the action itself which God weighs.
Spurgeon, Charles (2015). “The Complete Works of C. H. Spurgeon, Volume 29: Sermons 1698-1756”, p.593, Delmarva Publications, Inc.