Wisdom 11:4-14

4 When your people grew thirsty, they called to you, Lord, and you gave them water flowing out of solid rock.
5 The disasters that punished the Egyptians saved your people when they were in trouble.
6 Because those enemies decreed that the babies of your people should be killed, you stirred up the sources of their everflowing river and made it foul with blood. In the desert you let your people go thirsty, to give them a taste of how you had punished their enemies. And then, when they least expected it, you gave them plenty of water.
9 When they were being tested, even though it was a merciful discipline, they learned how wicked people were tortured when you judged them in anger.
10 You tested your people, as parents test their children, to warn them. But you judged their enemies like a stern king and condemned them.
11 They suffered, whether they were near your people or far from them.
12 Their sorrow was doubled; they groaned as they looked back on what had happened.
13 When they learned that their punishment had been of benefit to your people, they realized that it was your work, Lord.
14 The Egyptians had refused to have anything to do with that man who, long before as a baby, had been thrown out and exposed; but as things worked out, they came to be amazed at him. The righteous never suffered a thirst like theirs.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.