Ex. 16:19,20 Then Moses told them, "Do not keep any of it overnight." But, of course, some of them didn't listen and kept some of it until morning. By then it was full of maggots and had a terrible smell. And Moses was very angry with them.
The Israelites had complained about water they had found that was undrinkable and God healed it so they could drink. They ran out of water and complained and the Lord provided water from a rock. They complained about a lack of food and God provided quails and manna. He told them how they were to treat it, not leaving any of it overnight, but of course some did not listen. They were notorious complainers instead of humble followers of God.
It never fails. When we don't listen to God, unnecessary and bad things happen. God has good reasons for what He says and we would be wise to not try the patience of God and ignore what He says. We create our own problems when we ignore God. One of life's most important lessons is to simply learn to listen to God.
If things aren't going so well for you and you know that you have failed to listen to God, confess to the Lord what you have done and repent of it. You will not be content with life and know His peace until you do. God knows best always what should be done and the sooner you listen to Him the better off you will be.