Thus he measured it on the four sides. It was surrounded by a wall five hundred cubits long and five hundred cubits wide, to separate the sacred from the profane.