Do you not know that you are God’s temple and that God’s Spirit dwells in you?
1 Corinthians 3:16
We have to realize, that as believers, the Holy Spirit dwells within us. All that we think and do is filtered through that Spirit. When we think bad thoughts or do things contrary to God’s commands, we grieve the Spirit. Nothing is hidden from God.