God is calling all of the unfaithful people to come before him so he can judge them in a strong contrast to the promises for the righteous that came before.
This refers to actual and spiritual adultery. They have abandoned the worship of God and now worship other gods and idols along with actual prostitution in pagan Canaanite ceremonies.