Deuteronomy 12:30

12:30 After they have been destroyed from your presence, be careful not to be ensnared like they are; do not pursue their gods and say, “How do these nations serve their gods? I will do the same.”

Deuteronomy 32:49

32:49 “Go up to this Abarim hill country, to Mount Nebo (which is in the land of Moab opposite Jericho) and look at the land of Canaan that I am giving to the Israelites as a possession.