Sirach (Ecclesiasticus) 34:18

He that sacrificeth of a thing wrongfully gotten, his offering is ridiculous; and the gifts of unjust men are not accepted.

Brenton's English Septuagint