Ezekiel 42:20

He measured it on the four sides; it had a wall all around, five hundred cubits long and five hundred wide, to separate the holy areas from the common.