The purpose of Israel's time in the wilderness wasn't punishment, but to teach them about God. Wilderness experiences are always unpleasant, but they are also when we are closest to the presence of God. The Bible repeatedly says God causes much suffering, but he only does so in order to bring about greater blessing.
#deuteronomy 29:4-5 #kitavo