The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 14
1He who lodges close to her house will also fasten a nail in her walls.