Christ teaches us to fight against temptation with scripture and we do so by taking our thoughts captive and filtering those thoughts through scripture.