NET
27 They would spend the night in their posts all around God’s sanctuary, for they were assigned to guard it and would open it with the key every morning.
Darby
27 for they stayed round about the house of God during the night, because the charge was upon them, and the opening thereof every morning [pertained] to them.
KJV
27 And they lodged round about the house of God, because the charge [was] upon them, and the opening thereof every morning [pertained] to them.