We pray to Allah but why are we not answered

Ibrahim Ibn Adham,who was a famous Muslim scholar long ago,was once asked an interesting question. A group of people came to him and one of them quoted an ayah from the Qur'an that say's "and you Lord declares,"call on Me and I will answer your prayer."(40:60)

Then the person asked the Muslim scholar, "we pray to Allah but why are we
not answered?"

The scholar said to them, "You know about Allah,yet you don't obey Him.

You read the Qur'an, yet don't act according to it.

You know how bad the shaytan is, yet you have joined him.

You say that you love the Messenger of Allah[SS], yet you abandon his Sunnah.

You declare that you love paradise, yet you don't do anything to obtain it.

You declare you're afraid of the fire, yet you don't keep yourselves from commiting sins.

You agree that we will die, yet you are not prepared for it.

You're busy finding faults with others, yet you don't look at your own faults.

You eat the food Allah provided for you, yet you don't thank Him.

and You bury your dead, yet you don't take a lesson from it."

son from it."