Deuteronomy 22:8

If you build a new house, you are to construct a railing around your roof, so that you do not bring bloodguilt on your house if someone falls from it.
BSB · Berean Standard Bible
When thou buildest a new house, then thou shalt make a battlement for thy roof, that thou bring not blood upon thine house, if any man fall from thence.
KJV · King James Version
When you build a new house, then you shall make a railing around your roof, so that you don’t bring blood on your house if anyone falls from there.
WEB · World English Bible
When thou buildest a new house, then thou shalt make a battlement for thy roof, that thou bring not blood upon thy house, if any man fall from thence.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

then thou shalt
The eastern houses being built with flat roofs, which were used for various purposed, as walking, sleeping, etc., it was therefore necessary to have a sort of battlement, or balustrade, to prevent accidents, by people falling off.
Exodus 21:28–36; Exodus 22:6; Romans 14:13; 1 Corinthians 10:32; Philippians 1:10; 1 Thessalonians 5:22
thy roof
2 Samuel 11:2; Isaiah 22:1; Jeremiah 19:13; Matthew 10:27; Mark 2:4; Acts 10:9
thou bring
Ezekiel 3:18, 20; Ezekiel 32:2–9; Matthew 18:6, 7; Acts 20:26, 27