This graphic illustrates the situation of the church in the world today. It is a spiritual city surrounded by a world of sin.
Rev. 12:17 explains that the devil makes war against the church today. He dwells in a world of sin, but cannot enter the church to harm the spiritual lives of Christians.