And Allah presents an example : a city which was safe and secure , its provision coming to it in abundance from every location , but it denied the favors of Allah . So Allah made it taste the envelopment of hunger and fear for what they had been doing .