All spirituality begins in the heart and flows out.  The outward is rooted in the inward.  Acts of righteousness should be driven by true compassion in the soul.  Holiness is driven by loving God with an undivided heart.  The intent and motive of the heart matters.  He who calls us, calls us to be pure in heart.  He enables what He commands.  

“Almighty God, unto whom all hearts be open, all desires, known, and from whom no secrets are hid: cleanse the thoughts of our hearts by the inspiration of the Holy Spirit, that we may perfectly love thee,  and worthily magnify thy holy name,  Through Jesus Christ our Lord,  Amen.” (From the Book of Common Prayer)