Bethlehem is associated with several major biblical narratives. Genesis 35:19 and Genesis 48:7 connect the area with the death and burial of Rachel. The book of Ruth centers on Bethlehem, where Naomi returned with Ruth and where Ruth met Boaz. Their descendants included David.
David was born and raised in Bethlehem, and 1 Samuel 16 describes Samuel coming there to anoint him. The city consequently became known as the City of David.
Micah 5:2 foretells that a ruler of Israel would come from Bethlehem Ephrathah. Matthew 2 and Luke 2 identify Jesus' birth at Bethlehem, explicitly connecting His birthplace with David and, in Matthew, with Micah's prophecy.