Deuteronomy 12:5
3 You must tear down their altars, shatter their sacred pillars, burn up their sacred Asherah poles, and cut down the images of their gods; you must eliminate their very memory from that place. 4 You must not worship the Lord your God the way they worship. 5 But you must seek only the place he chooses from all your tribes to establish his name as his place of residence, and you must go there. 6 And there you must take your burnt offerings, your sacrifices, your tithes, the personal offerings you have prepared, your votive offerings, your freewill offerings, and the firstborn of your herds and flocks.
1 Kings 8:16
14 Then the king turned around and pronounced a blessing over the whole Israelite assembly as they stood there. 15 He said, “The Lord God of Israel is worthy of praise because he has fulfilled what he promised my father David. 16 He told David, ‘Since the day I brought my people Israel out of Egypt, I have not chosen a city from all the tribes of Israel to build a house for my name to be there. But I have chosen David to lead my people Israel.’ 17 Now my father David had a strong desire to build a temple to honor the Lord God of Israel.
Notes and References
"... There are other verbal parallels that do not display the distinctive referential character that quotations have, as in the many instances of recurrent phraseology in certain narratives. For example, the continuing phrase “the city [house] that I have chosen to put my name there”) in the Book of Kings has a very close verbal equivalent in the so-called centralization formula (“the place that YHWH your God will choose to put his name there”) in Deuteronomy 12:5 and passim. Another example is the characteristic hymnic locution "YHWH he is the God in the heavens above and on the earth below” Deuteronomy 4:39 that is repeated verbatim in Rahab’s mouth in Joshua 2:11 and in Solomon’s prayer in 1 Kings 8:23; or the typical idiom “no word fell down from all the good word that YHWH had spoken”) (Joshua 21:45; 23:14; 1 Kings 8:56) ..."
Vang, Carsten Inner-biblical Quotations in Old Testament Narratives: Some Methodological Considerations (pp. 515-537) Old Testament Essays 33/3, 2020