Surah 49

Surah 49:16

"Say: ‘Will you teach God about your religion, when God knows whatever is in the heavens and whatever is on the earth? God has knowledge of everything.’"
Is Allah omniscient?

Opposing Verses

Surah 2:155 → "We shall indeed test you with some (experience) of fear and hunger, and loss of wealth and lives and fruits. But give good news to the patient,"
Does the Quran state that Allah is omniscient? Some verses state that Allah has knowledge of everything, while others state that He tests people to discover who is patient.