When the munafiqeen said at the Battle of Khandaq that the people’s homes were exposed and vulnerable, thereby hoping to remain behind, they thought that Allah did not know their secret intentions, thought they could flee the battle without Allah knowing their cowardice and treachery.
They thought Allah would not help the Believers. In fact, they thought Allah had no part in the matter at all; that imaan and obedience and courage would be the same to Allah as doubt, betrayal, and cowardice. They thought ugly and offensive things about Allah, and made their choices guided by falsehood. And, of course, they lost and failed as much as it is possible for people to lose and fail.
Similarly, there were the Believers whose wrong thought about Allah prompted them to say that they had no power against Jalut and his forces, while the right-thinking Believers turned to Allah for support with certainty. My point here has to do with how this type of thinking affects our decision-making; how we need to make our choices based on truthful thoughts about Allah so that our decisions lead to success in this life and the next.
Thinking only the truth about Allah is the most important factor, on a practical level, in forming judgments. This has to be fully integrated into our decision-making process, consciously, including our choices in terms of strategies against our enemies.
To make any decision without first considering whether or not our ideas conform with the truth about Allah guarantees that those decisions will ultimately compound our suffering, not rescue us from it.