When God calls on/commands Hosea to marry “a promiscuous woman” this marriage is a literal relationship as well as figurative for the relationship God has with His people. He is a faithful “husband,” whereas His people are the unfaithful “wife” going after other “lovers.” But this story can (and should!) reorient us toward better understanding who we are as His people (His bride) and what our idolatry really is (whoring after other lovers). This is strong but biblical language for idolatry.
(Hosea 1:2-9)