In Luke's version of Jesus' Jerusalem discourse, the warning becomes unmistakably military: when Jerusalem is surrounded by armies, its desolation is near. Those in Judea are told to flee rather than seek security inside the city.
The instructions reverse the normal instinct to take refuge behind fortified walls.