I already addressed that.
God used the prophets often as object lessons to teach Israel.
Isaiah walked naked for three years, but the Lord would not ask us to do that.
Neither would the Lord ask us to marry a prostitute. The prostitute ran away prostituted herself again. She sold herself as a slave. The Lord commanded Hosea to go and buy her back, and so he did. It is a picture of God's grace and His redemption.
And your conclusion is that God "divorced" Israel?