This is the question, "How can I learn to keep my thoughts on God through the day, so as to be led by the Spirit in becoming the best I can be for the Lord?" This is the answer, "Intentional action (training) leads to a developed condition (practice); so, we must do what we wish to be until who we are is in truth what we desired to become."
Learning the way of holiness, walking in the path of the just, is a very intentional life. But we can learn it, and practice makes progress!