Allah commanded them to enter the door of the city bowing and saying “remove our burdens”, hence whoever did that Allah forgave them, and who did more in excellence, Allah U increased for them of His goodness. Allah always increases a person in goodness as He is the most giving, the best in showing excellence. And He also punishes man if he does evil and corrupts.
The worshipping of Allah on this earth is for the rectification of the human being and it encompasses every movement of the human being in life. Meaning that all good beneficial acts go back to himself, his family and his relatives, his neighbours, his neighbourhood, his city, his country and all of humanity altogether. And this is the message of religion.
Allah speaks to us in these verses about the children of Israel from the angle of their behaviour, their actions and their dwellings, specifying everything that has to do with the animosity of these people who will be the people of illegal terrorism, who will force Masjidil Aqsa to be theirs in the future and dishonour it.
Allah showed favours onto them, but they denied them. And instead of saying “hittah” (remove our burdens) they said “hintah” or wheat as all they think about is food. And instead of entering the door bowing, they entered it disobeying and in a manner that was not required of them. It is said that they entered backwards but this is not affirmed. All of these happened to them in the desert.