(On the other hand, We saved the Children of Israel whom the Pharaohs had persecuted for centuries, and granted them great triumph. And in time,) We granted David and Solomon (special) knowledge. Both used to thank and praise God, saying: "All praise and gratitude are for God, Who has favored us more than many of His believing servants."