Most of the time, we will never understand why certain tests and hardships befall upon us. A person may never miss the prayer, always volunteer, and love to help the people, but his life may still be difficult — for example, he may have health problems. Does this mean Allah hates him?

Having or losing worldly things have no direct correlation with one’s faith. Because Allah gives the world both to those who hate Him, and those who love Him; but He only gives the religion only to those whom He loves.