Give yourself completely to God and guard your thoughts too.
Read: James 4: 7-8
So give yourselves completely to God. Stand against the devil, and the devil will run from you. 8 Come near to God, and God will come near to you. You sinners, clean sin out of your lives. You who are trying to follow God and the world at the same time, make your thinking pure.