It's easy to control what we say at times but it takes much discipline to control our thoughts. God see's our thoughts just like they were our words. We must strive to keep our thoughts pure and pleasing to Him.
Romans (NLT) The Spirit of God, who raised Jesus from the dead, lives in you. And just as God raised Christ Jesus from the dead, he will give life to your mortal bodies by this same Spirit living within you.