Hath not the scripture said, That Christ cometh of the seed of David, and out of the town of Bethlehem, where David was?
Berean Study Bible (BSB) - John 7:42 >Doesn’t the Scripture say that the Christ will come from the line of David and from Bethlehem, the village where David lived?”