1 Chronicles 9:27

27 They lived near the Temple, because it was their duty to guard it and to open the gates every morning.