“You must not worship the Lord your God the way they worship.”
After Israel reached the Jordan River and Moses takes leave of the people, he reviews their history and teaches important lessons. One of these is not to worship like the pagans.
The principle still applies. Saints sometimes want to worship God as do those outside of Christ. They are ensnared by their interest in false worship, v. 30.