Wisdom of Solomon 3:5
And having been a little chastised, they shall be greatly rewarded: for God proved them, and found them worthy for himself.
Background and history of Wisdom of Solomon, and issues with this book.
The King James Version (1769), including the Apocrypha, is in the public domain in the United States. Letters patent restrict printing this translation in the United Kingdom.