Moses gives speeches about laws and the importance of following God before the Israelites enter the Promised Land.
For they went and served other gods, and worshipped them, gods whom they knew not, and whom he had not given unto them:
So they followed other gods, worshiped them, and these were unknown gods that he didn't tell them about.