Moses gives speeches about laws and the importance of following God before the Israelites enter the Promised Land.
That they teach you not to do after all their abominations, which they have done unto their gods; so should ye sin against the LORD your God.