The great city is also spiritually called Egypt (Rev 11:8). How can that apply to Jerusalem?
It's called Sodom and Egypt, comparing the spiritual condition of Jerusalem at the time of the end
This symbolic woman/city is called Babylon because Babylon was a world empire with a global scope well beyond just Jerusalem.
Jerusalem is guilty of the prophets blood not Babylon, scripture interprets itself, before your eyes, from the very mouth of God Jesus Christ, clear, simple, easy to understand
(Revelation) 18:24KJV
24 And
in her was found the blood of prophets, and of saints, and of
all that were slain upon the earth.
(Matthew) 23:29-37KJV
29 Woe unto you, scribes and Pharisees, hypocrites! because ye build the tombs of the prophets, and garnish the sepulchres of the righteous,
30 And say, If we had been in the days of our fathers, we would not have been partakers with them in the blood of the prophets.
31 Wherefore ye be witnesses unto yourselves, that
ye are the children of them which killed the prophets.
32 Fill ye up then the measure of your fathers.
33 Ye serpents, ye generation of vipers, how can ye escape the damnation of hell?
34 Wherefore, behold, I send unto you prophets, and wise men, and scribes: and some of them ye shall kill and crucify; and some of them shall ye scourge in your synagogues, and persecute them from city to city:
35
That upon you may come all the righteous blood shed upon the earth, from the blood of righteous Abel unto the blood of Zacharias son of Barachias, whom ye slew between the temple and the altar.
36 Verily I say unto you, All these things shall come upon this generation.
37
O Jerusalem, Jerusalem, thou that killest the prophets, and stonest them which are sent unto thee, how often would I have gathered thy children together, even as a hen gathereth her chickens under her wings, and ye would not!