In the Old Testament, Babylon became a powerful image of human pride and hostility to the people of God. The historical Babylonian Empire conquered Jerusalem, destroyed the Temple, and carried many inhabitants of Judah into exile. Prophets such as Isaiah and Jeremiah announced that Babylon itself would eventually fall under divine judgment.
Biblical writers also portrayed powerful cities and empires as unfaithful or arrogant when they gloried in wealth, exploited others, and resisted the rule of God. This prophetic imagery prepared the way for the symbolic portrait in Revelation. Yet the exact significance of the woman, beast, heads, and horns could not be inferred merely from the earlier history of Babylon.
John writes to churches living under Roman imperial power. The city of Rome, famous for its dominion and seven hills, provides an important historical setting for the vision, while its language also reaches beyond one city to the recurring temptation of idolatrous political and economic power.