Expedient

meaning: helpful or useful in a particular situation, but sometimes not morally acceptable:

usage: It might be expedient not to pay him until the work is finished .