Growth in godliness is essential for any professing believer. James tells us in his epistle that faith without works is dead. James is telling us that forsaking sin and, contrastingly doing good is part of expressing true faith. In this change process, God is up to making us more like Jesus (Romans 8:29). This leads to glorifying God, which in part is what we were created for.