Wisdom of Solomon 11:15
14 For though they had mockingly rejected him who long before had been cast out and exposed, at the end of the events they marveled at him, when they felt thirst in a different way from the righteous. 15 In return for their foolish and wicked thoughts, which led them astray to worship irrational serpents and worthless animals, you sent upon them a multitude of irrational creatures to punish them, 16 so that they might learn that one is punished by the very things by which one sins. 17 For your all-powerful hand, which created the world out of formless matter, did not lack the means to send upon them a multitude of bears, or bold lions, 18 or newly-created unknown beasts full of rage, or such as breathe out fiery breath, or belch forth a thick pall of smoke, or flash terrible sparks from their eyes; 19 not only could the harm they did destroy people, but the mere sight of them could kill by fright.
Romans 1:23
20 For since the creation of the world his invisible attributes—his eternal power and divine nature—have been clearly seen because they are understood through what has been made. So people are without excuse. 21 For although they knew God, they did not glorify him as God or give him thanks, but they became futile in their thoughts, and their senseless hearts were darkened. 22 Although they claimed to be wise, they became fools 23 and exchanged the glory of the immortal God for an image resembling mortal human beings or birds or four-footed animals or reptiles. 24 Therefore God gave them over in the desires of their hearts to impurity, to dishonor their bodies among themselves. 25 They exchanged the truth of God for a lie and worshiped and served the creation rather than the Creator, who is blessed forever! Amen.
Notes and References
"... In the context of the present revelation of God’s wrath, Paul makes a universal claim about human beings: that they are “without excuse” because they failed to honor the Creator, about whom it is possible to know something (“what is knowable about God”) by observing the works of creation, which God manifested to them (1:19–20). Their failure to acknowledge God leads to folly (1:21–22), which is demonstrated, on the one hand by their idolatry, and on the other by their immorality. Paul presents these sins as punishments in themselves; three times, he states that God “gave them up” or “handed them over” (1:24, 26, 28) to idolatry (1:25), “degrading passions” (1:26–27) and “every kind of wickedness” (1:29–31). This way of explaining human sinfulness resembles a principle articulated in the Wisdom of Solomon that was fairly widespread in apocalyptic texts: “one is punished by the very things by which one sins” (Wisdom of Solomon 11:16; compare Testament of Gad 5:10; Jubilees 4:32) ..."
Hogan, Karina M. "The Apocalyptic Eschatology of Romans" in Stuckenbruck, Loren T. (ed.) The Jewish Apocalyptic Tradition and the Shaping of New Testament Thought (pp. 155-174) Fortress Press, 2017