King James Version
And they lodged round about the house of God, because the charge was upon them, and the opening thereof every morning pertained to them.English Standard Version
And they lodged around the house of God, for on them lay the duty of watching, and they had charge of opening it every morning.New International Version
They would spend the night stationed around the house of God, because they had to guard it; and they had charge of the key for opening it each morning.