The old testament is full of history. It documents the rise and fall of kings and kingdoms, empires and cities, Judges and prophets. There were good kings such as Josiah who did what was right in the sight of God, while others like Ahab, did evil. There were also good queens such as Esther who saved her people from the likes of Haman; and evil queens like Jezebel who filled the northern kingdom of Israel with witchcraft, idol worship, Phoenician gods and goddesses and pagan sacrifices.
We also have mention of numerous cities that are often given feminine pronouns that maximize specific characteristics focused on behavior and their relationship to God. Some cities had good qualities while others did not; and that set them up for judgement.
Sodom and Gomorrah were marked for judgement "Because the cry of of Sodom and Gomorrah is great, and because their sin is very grievous..." Genesis 18:20-22
As we know, the cities of Sodom and Gomorrah were destroyed because the inhabitants were consumed with iniquity and haughty pride. When compared with the iniquity of Jerusalem, Sodom was called the sister with daughters in the book of Ezekiel. Chapter 16 is full of feminine verbiage describing cities.