God often required prophets to carry out what we would consider highly unusual object lessons. Jeremiah wore a ruined loincloth around his waist (Jeremiah 13). Isaiah paraded about stripped of clothing (Isaiah 20). Ezekiel lay on his left side for more than a year and on his right side more than a month (Ezekiel 4), shaved his head with a sword (Ezekiel 5), and was forbidden to mourn when his wife died (Ezekiel 24). These strange actions were primarily.
Intended to get the attention of the hardheaded, hard-hearted people of God, to illustrate certain divine truths, and to serve as unforgettable audiovisual lessons for a people who had long since stopped listening to regular sermons and scripture readings.
HOSEA 1:2- When the LORD firstr spoke through Hosea, the LORD said to Hosea, “Go, take to yourself a wife of whoredom and have children of whoredom, for the land commits great whoredom by forsaking the LORD.” (Study Edition)