The Bible tells us, that of the people of Israel, the majority of them, God was not really pleased with. He loved them. He saved them. He got the Holy Ghost on them. He did miracles for them. But He was not well pleased with them, it says in 1 Corinthians 10. It takes faith to please God. They were overthrown in the wilderness. When a period, which God designed for their benefit, came into their life, instead of responding in a godly way and understanding what God wanted to do, they fought, wrestled, and eventually fell and failed in that wilderness experience. Jesus had a wilderness experience, it must be important, and not just an Old Testament thing. 1 Corinthians 10 says: it's a warning, a learning exercise, something for us to learn from.