Paul wrote in Romans:
"Do not be conformed to this world, but be transformed by the renewing of your minds, so that you may discern what is the will of God." Romans 12:2
Paul’s words are powerful we are to be transformers. "Be transformed by the renewing of your minds." Paul thought it vitality important that we use the gifts of our minds. There are those who believe that you must put your brains in neutral when you enter the doors of the church. That simply is not true! God wants us to use the intellect as a very special gift. What matters is what we put into our minds in the first place.
Consider what Paul told the Philippians:
"Finally, beloved, whatever is true, whatever is honorable, whatever is just, whatever is pure, whatever is pleasing, whatever is commendable, if there is any excellence and if there is anything worthy of praise, think about these things." Philippians 4:8
Think about these things! What is it that YOU think about? Does your mind dwell on things that are honorable, positive, just, worthy of praise? Positive loving thoughts lead to positive lover actions. God gave you a mind to use. What are you doing with it? If you are concentrating on good and godly thoughts, then you are renewing your mind according to Paul's instructions.
And you are the only one who has control over what you are thinking. It is your choice! What ever you focus your mind on is your choice! Praising God and sin against God both happen in the mind long before there is any action by mouth or hands. It is your choice to love God and God's other children OR to live in sin. Sin being, to not love others and therefore not love God so renew your own mind.