Jerry Bridges said this quote

Holiness has to do with more than mere acts. Our motives must be holy, that is, arising from a desire to do something simply because it is the will of God. Our thoughts should be holy, since they are known to God even before they are formed in our minds.