Israel learns obedience to God in the desert