Whenever you read some passages in the Bible, you may come away sometimes in shock or even disgust at the imagery and events. Certainly God's graphic description of the sins of His people is shocking and disgusting. Isn’t that what sin should be to us? Grotesque! James 4:4 reminds us - "You adulteresses, do you not know that friendship with the world is hostility toward God? Therefore whoever wishes to be a friend of the world makes himself an enemy of God."
The description of Jerusalem and Judah in Ezekiel's day would had matched any other wicked city such as Ninevah in Assyria, Babylonia in Babylon or Sodom and Gomorrah. God's point was well made - sin is disgusting, repulsive and should be despised by God's people. Moreover, our sin before a Holy Righteous God does nothing for us but to make us guilty and deserving of judgment. As a result of Adam's rebellion in the garden - death, sin and guilt have been inherited and experienced by every human being born in history (with the exception of Jesus).
Whenever you turn to James 2, you read about the nature of true saving faith - that faith will always be followed by good deeds. Though we are saved by grace through faith apart from the law (the point of the book of Romans), yet saving faith should and must evidence a life that is not lawless (James' point). Both books do not conflict, but rather complement one another in seeing the same saving faith with respect to what it takes to get right with God in salvation (Romans = saved by grace alone through faith alone) and the nature of such faith following salvation (James = kept by grace and a faith that is never alone).
However following salvation, good works proceeding from faith is the chief evidence demonstrating the reality of one's justification. (James 2:14-20) We are saved by grace through faith alone, however following salvation, we are being saved by a faith that is never alone. All good works that follow from the one-time Divine pronouncement of justification at saving faith is what the scriptures call "sanctification". Many over the centuries have wondered how justification by faith and sanctification in good works relate to one another.
Think of faith as a mother and good deeds like the children that follow the mother. Wherever the mother is, the little children are there in close proximity. We see this in how human mothers and children relate to one another. We moreso see in the animal kingdom this same principle, such as ducklings or chicks following their mother.
To further elaborate the distinctions between justification and sanctification: in justification, I am positionally deemed righteous by God with Christ's righteousness. In sanctification, the Holy Spirit is making me in experience whom God has declared me to be in position. Both graces together work in the Christian to make them like a child following after their Lord.
We started out this post by noting the disgusting nature of sin. However James points out that a harlot by the name of Rahab was justified by faith and demonstrated such faith by hiding the Jewish spies in the days of the conquest of Jericho (James 2:25). She was justified by faith apart from works and continued living by sanctifying faith that does work. Can God save harlots? Absolutely! God's grace is the only thing that can reach you and me in the depths of our sin and Christ's blood is the only thing that can overflow the heights of our sin and wipe away its guilt. That's the relationship between justification and sanctification.