In King David’s time:
This video provides valuable perspective for passages like 2 Samuel 11:2.
It happened, late one afternoon, when David arose from his couch and was walking on the roof of the king’s house, that he saw from the roof a woman bathing; and the woman was very beautiful.
The growth of Jerusalem from King David to the time of Jesus:
The temple complex in Jesus’ time: