This indicates a contrast between God's anger and his sending the prophets to give them a chance to repent.
That Yahweh was the one to whom they should turn.
"the people refused to obey"