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 is a strong insult against the people who practice sorcery because sorcery and magic includes idolatry. (See: [[rc://en/ta/man/jit/figs-metaphor]])
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.