While Yahweh is revealing, instructing, and enabling, the people are busy forgetting, departing, and sinning. They have been redeemed from Egypt that they might serve Yahweh in the wilderness. They agreed to do everything he said when he spoke to them from the mountain, but these commitments are soon forgotten.
From: God's Glory in Salvation through Judgment: A Biblical Theology
Aren't we all like that, to some extent or another?
The people, when times were good, partied on. When times were hard, they demanded His care.
Or they cried out for His help, only to slip back into forgetfulness.
I have had times like this - but after a time, the cycle is as much vanity as is all of "life.". One learns the comfort and stability of simply resting in Him...good times and bad. That is a powerful lesson to learn.