The Bible teaches us that more than anything we guard, we should guard our heart for everything we do flows from it (Proverbs 4:23). Other variations of this same verse state to guard our MIND (Proverbs 4:23). Mind and heart are used interchangeably which must mean they have a close connection.
The doorkeeper of your heart is your mind and the doorkeeper of your mind is you. Before anything gets into our heart, it first creeps into our thoughts. This means we must protect our mind. When we guard something, it is to protect it from harm and/or destruction and if life flows from the heart then death can also flow.
From a single thought, an ungodly desire can be conceived. After it is conceived, it gives birth to sin; and sin, when it is full-grown, gives birth to death. (James 1:15).
So we see that sin is birthed when we begin entertaining the wrong thoughts. It’s not that bad thoughts won’t come; it’s whether or not we let them pass quickly and ignore them (because we know they are not from God) or sit dwelling on them and give them life.
What if I have entertained the wrong thoughts? Confess to God for He is faithful and just to forgive (1 John 1:19). Ask God to destroy ungodly desires and to uproot ungodly seeds, known and unknown, because sin leads to death but Jesus came so that we might have life and have it more abundantly (John 10:10). So through forgiveness, God uproots those ungodly seeds to save us.
When God uproots the ungodly seeds, be active in pursuing Christ and filling yourself with Godly seeds. The fruits of God are love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, and self-control (Galatians 5:22-23). As you draw closer to God, these seeds will be sewn.
Spending time with God will allow you to be FULLY occupied by God so when the enemy returns, there is no room for him. If the enemy finds you unoccupied he will not only return but bring more of his seeds (Matthew 12:45). Some of the fruits of the enemy are hatred, jealously, discontentment, bitterness, rejection and blame.
Seeds that are not deeply rooted are easier and quicker to remove whilst seeds that have been planted for a while can take some time. The greater the number of ungodly seeds present means more work. But God is strong and powerful, capable of all things. Uprooting and being renewed is a process God will walk us through and heal us from. He will build us up and bless us more abundantly then we could have imagined. He is a good Father and He works all things out for the good of those who love Him (Romans 8:28).