Wisdom 18:13

13 These people had paid no attention to any warning, but relied instead on their magical powers. But when their first-born sons were killed, then they recognized that Israel was God's son.

Wisdom 18:13 In-Context

11 Masters suffered the same punishment as their slaves; the king endured the same loss as the common people.
12 There were too many dead bodies to count. There were not enough people left to bury them all. In a single moment their dearest children died; all of them met death in the same way.
13 These people had paid no attention to any warning, but relied instead on their magical powers. But when their first-born sons were killed, then they recognized that Israel was God's son.
14 The short night was half over, and all was quiet and peaceful,
15 when suddenly your threats were carried out! An invincible word of judgment sped from your royal throne in heaven, straight down to that doomed land. It came like a soldier in fierce attack,
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.