1 Chronicles 9:27

ISV(i) 27 They spent the night near the temple of God, since they had been entrusted to guard it. They were in charge of opening it every morning.