Genesis 14 introduces Melchizedek as king of Salem and priest of God Most High. He brought bread and wine, blessed Abram, and praised God for delivering Abram's enemies into his hand.
Abram gave Melchizedek a tenth of everything. The brief encounter became the foundation for later biblical reflection upon Melchizedek.
Psalm 76 declares that God's dwelling place is in Salem and His habitation in Zion, strongly associating Salem with Jerusalem in biblical poetic tradition.
Hebrews 7 returns to Genesis 14 and interprets Melchizedek as king of righteousness and king of Salem, which it explains as king of peace, using him as a theological pattern for the priesthood of Christ.