28 “Be careful to listen to all these words which I command you, so that it may be well with you and your sons after you forever, for you will be doing what is good and right in the sight of the Lord your God.
29 “When the Lord your God cuts off before you the nations which you are going in to dispossess, and you dispossess them and dwell in their land, 30 beware that you are not ensnared [p]to follow them, after they are destroyed before you, and that you do not inquire after their gods, saying, ‘How do these nations serve their gods, that I also may do likewise?’ 31 You shall not behave thus toward the Lord your God, for every abominable act which the Lord hates they have done for their gods; for they even burn their sons and daughters in the fire to their gods.
32 “[q]Whatever I command you, you shall be careful to do; you shall not add to nor take away from it.
There is something we are very prone to doing as people (and even animals do this), which is imitation. God knew the Israelites would be tempted to mimic the nations around them, even in their abominable acts, if left to their own devices. Spoiler, they actually did fall into doing these things, even though God gave them explicit directions.
Lest we compare ourselves and get on a high horse, we need to guard our own hearts. It may not always be in the way we worship (but sometimes it is.. oh, look what that church is doing), it may be in other areas of our life. We compare our lives to our neighbors, coworkers, friends, and mimic what they are doing. Buying cars and houses we can’t afford, clothes we don’t need that are ludicrously expensive.
Instead, we need to remember, God calls us to love him, and love others. Everything else is secondary, and if it isn’t bringing us closer to him, we need to really evaluate what we are doing, and make sure it is inline with His will.