Gomer was the wife of the prophet Hosea and the mother of Jezreel, Lo-Ruhamah, and Lo-Ammi. She was the daughter of Diblaim.
God commanded Horea to marry a promiscuous woman and to raise the children born out of her infidelity.
Go, take for yourself a wife of prostitution and have children of [her] prostitution; for the land commits great acts of prostitution by not following the Lord.— Hosea 1:2 (AMP)
So Horea married Gomer.
Gomer conceived and gave birth to a son, and God commanded Hosea to name the son Jezreel, since God was going to punish Israel and the House of Jehu for Jehu's conduct at Jezreel, and since God was going to punish Israel at the Valley of Jazreel.
Gomer then conceived and gave birth to a daughter, and God commanded Hosea to name the daughter Lo-Ruhamah ("not shown mercy"), since God was not going to have mercy on Israel or the House of Jehu. Nevertheless, God was still going to have mercy on Judah and the House of David.
After Gomer weaned Lo-Ruhamah, she conceived and gave birth to another son, and God commanded Hosea to name this son Lo-Ammi ("not my people") since God has abandoned the people of Israel.
God then commanded Hosea to share a prophesy about Israel's (and Gomer's) unfaithfulness, the consequences of and punishment for that unfaithfulness, and the eventual reconciliation between God and Israel.
At same point, Gomer had been taken into slavery.
God then commanded Hosea to reconcile with and love Gomer.
Go again, love a woman (Gomer) who is beloved by her husband and yet is an adulteress, even as the Lord loves the children of Israel, though they turn to other gods and love the raisin cakes [used in the feasts in pagan worship].— Horea 3:1 (AMP)
So Hosea purchased and recused Gomer from slavery. Hosea then committed himself to Gomer and commanded her to remain faithful and committed to him:
You shall stay with me for many days. You shall not play the prostitute nor shall you have a man; so I will also be toward you [until you have proved your faithfulness].— Horea 3:3 (AMP)
In 2014, Return of Kings contributor Oscar Zach published a blog entry entitled "The Legacy Of Gomer And Hosea Lives On". Zach notes that modern men are knowingly marrying sluts and former prostitutes and are allowing themselves to be cuckolded due to romantic notions, such as "undying love". Zach recognizes that Hosea married Gomer due to God's command to him, and that humanity as a whole is is not under orders from God to forgive every case of adultery.
Hosea and Gomer’s story should not be viewed superficially as the general condonance of female infidelity by men—to be made later as a social role model—because Hosea was specifically following divine commands in relation to Gomer, as his wife was to represent a spiritual theme of a nation turning away from God. He wouldn’t have married or forgiven her had he not been divinely commanded at first. This command thus does not pertain to mankind on the whole.
Hosea’s example also lives on in cases of modern men choosing to marry whores, and those men choosing to condone spousal infidelities within marriages, often out of ‘undying love’. But the tragedy here is Hosea’s example has been misconstrued to both exploit and demean men in the context of such relationships by cheating women and permissive modern society to increasingly devalue male territorial instincts and self-respect.
He also notes that men are deceiving themselves into believing that their spouse can change.