Wisdom 12:27

27 For seeing with indignation that they suffered by those very things which they took for gods, when they were destroyed by the same, they acknowledged him the true God, whom in time past they denied that they knew: for which cause the end also of their condemnation came upon them.

Wisdom 12:27 In-Context

25 Therefore thou hast sent a judgment upon them as senseless children to mock them.
26 But they that were not amended by mockeries and reprehensions, experienced the worthy judgment of God.
27 For seeing with indignation that they suffered by those very things which they took for gods, when they were destroyed by the same, they acknowledged him the true God, whom in time past they denied that they knew: for which cause the end also of their condemnation came upon them.
The Douay-Rheims Bible is in the public domain.