Deuteronomy 12:2
1 These are the statutes and ordinances you must be careful to obey as long as you live in the land the Lord, the God of your ancestors, has given you to possess. 2 You must by all means destroy all the places where the nations you are about to dispossess worship their gods—on the high mountains and hills and under every leafy tree. 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.
Hosea 4:13
11 Old and new wine take away the understanding of my people. 12 They consult their wooden idols, and their diviner’s staff answers with an oracle. The wind of prostitution blows them astray; they commit spiritual adultery against their God. 13 They sacrifice on the mountaintops and burn offerings on the hills; they sacrifice under oak, poplar, and terebinth, because their shade is so pleasant. As a result, your daughters have become cult prostitutes, and your daughters-in-law commit adultery! 14 I will not punish your daughters when they commit prostitution, nor your daughters-in-law when they commit adultery. For the men consort with harlots; they sacrifice with temple prostitutes. It is true: “A people that lacks understanding will come to ruin!” 15 Although you, O Israel, commit adultery, do not let Judah become guilty! Do not journey to Gilgal. Do not go up to Beth Aven. Do not swear, “As surely as the Lord lives!”
Notes and References
"... The references to Israel's cultic sites in Hosea 4:13 bears linguistic and thematic connections with Deuteronomy 12:2 ... The language of Hosea 4:13 is very close to Deuteronomy 12:2 and follows the same sequence of terms, constituting a probable allusion to that passage. Deuteronomy 12:2-4 commands Israel to destroy every pagan worship site including the altars (compare Hosea 4:19; 10:1-2, 8), pillars, Asherim, and images of their gods and not to worship YHWH as the inhabitants of the land worship their "gods" (Deuteronomy 12:4). And yet, this is precisely what Hosea's contemporaries were doing. Hosea's allusion to Deuteronomy 12:2 simply elucidates that YHWH's command went unheeded and that Israel indeed worshipped YHWH their God in the way that the people's of the land worshipped their gods ..."
Bass, Derek Drummond Hosea's Use of Scripture: An Analysis of His Hermeneutics (p. 170) The Southern Baptist Theological Seminary, 2008