God was well pleased with those believers who renewed their pledge under the tree [in Hudaibiyah]. God knew what was going in their hearts [that they were sure to be massacred]. God, therefore, put peace in their hearts and has already rewarded them with upcoming victories.