“Nevertheless, God was not pleased with most of them; their bodies were scattered over the desert. Now these things occurred as examples to keep us from setting our hearts on evil things as they did.”
This is about the 40 years that the Jews wandered in the wilderness between leaving their slavery in Egypt and beginning a country for themselves. They believed their way was better than God’s way. They kept God at a distance.
Events in the Old Testament are there as examples to us. Do we keep God at a distance? In that case, God keeps us at a distance. God treats us the way we treat him. The early Jews did not want to listen to God, so God did not listen to them. Do we want God to treat us the way we treat him?