The foreigners newly planted in Israel were unsure how to worship Yahweh, the God of the land, but the lion attacks brought an urgency to learn. This knowledge did not accomplish true worship. These new settlers believed that Yahweh was just like any other god. They were happy to add Him to their pile of idols and offer Him worship along with all the others because they simply wanted to avoid the consequences of His anger.
Many of us today try to tack on God to our worship. The people of this story offer us insight that we need: Halfhearted worship is no worship at all. If we have only turned to God out of fear of the consequences of His anger, not regarding Him as our greatest treasure, then is this really worship? True Christians are not ones who run to God merely to avoid hell; they run to Him because they see He is the only God worthy of all worship.
What difference do you see in your life when your obedience and worship flow out of treasuring God versus hoping to avoid consequences from Him?