God will influence people based on their inclinations. Same as the devil. If your heart is turned towards God, you will be influenced by Him and same applies with the enemy. However God can override an evil person’s will to favor whom He wants to favor, a child of God. Exodus 12:36