No, trying to obey God's laws out of one's love for God is not legalism. That is God's will.
Trying to obey God's laws out of fear of God is legalism. That is not God's will.
The concept of virtue exists independent of religious faith only in the mind of an atheist.
The concept of the manifestation of virtue dependent upon our faith in God is burned deep within the soul of a Christian.