"The devil can cite Scripture for his purpose"
Meaning: Bad people can appear to be good to achieve their objective. or even good things can be twisted to achieve bad ends.
Origin: Spoken by Antonio in "The Merchant of Venice", written by William Shakespeare (1564-1616):
Mark you this, Bassanio,
The devil can cite Scripture for his purpose.
An evil soul producing holy witness
Is like a villain with a smiling cheek,
A goodly apple rotten at the heart:
O, what a goodly outside falsehood hath!