The mind of a man is like a sponge to information:
If he spends each of his waking moments listening to the things of this world, then he will naturally act in a worldly way.
However, if he fills his mind daily, with the things of God, he will naturally act in a way that is of God!
Blessed is the man who does not walk in the counsel of the wicked or stand in the way of sinners or sit in the seat of mockers. But his delight is in the law of the LORD, and on his law he meditates day and night. – Psalm 1:1-2
.