To experience God's compassion (Jeremiah 12:15), people from other nations needed to stop worshiping idols and learn God's ways. This change required publicly accepting the Sinai covenant, which included saying, as surely as the Lord lives. They also needed to reject any promises made in Baal's name, which had led Israelites to worship foreign idols.