1 Chronicles 26:13

13 and they cast lots by ancestral houses, small and great alike, for their gates.