Jonah 2:8
6 I went down to the very bottoms of the mountains; the gates of the netherworld barred me in forever, but you brought me up from the Pit, O Lord, my God. 7 When my life was ebbing away, I called out to the Lord. And my prayer came to you, to your holy temple. 8 Those who worship worthless idols forfeit the mercy that could be theirs. 9 But as for me, I promise to offer a sacrifice to you with a public declaration of praise; I will surely do what I have promised. Salvation belongs to the Lord!” 10 Then the Lord commanded the fish and it vomited Jonah out onto dry land.
Psalm 31:6
4 You will free me from the net they hid for me, for you are my place of refuge. 5 Into your hand I entrust my life; you will rescue me, O Lord, the faithful God. 6 I hate those who serve worthless idols, but I trust in the Lord. 7 I will be happy and rejoice in your faithfulness, because you notice my pain and you are aware of how distressed I am. 8 You do not deliver me over to the power of the enemy; you enable me to stand in a wide open place.
Notes and References
"... The study of intertextuality focuses on how biblical texts echo, allude to, quote, reapply, or even reconfigure other canonical passages for various rhetorical and theological purposes. Inner-biblical allusion is especially prominent in the book of Jonah, which is not surprising in light of the highly artistic nature of this short work. Hyun Chul Paul Kim argues that “intertextual allusions in the book of Jonah suggest its function and place” and that Jonah’s dialogue with other passages in the Hebrew Bible helps provide “expression to thematic emphases of the post-exilic communities in the Second Temple period.” (Peter Lang has argued for an intertextual connection of Psalm 31 to both Jonah 2 and the book of Jeremiah ... Compare Jonah 2:4 and Psalm 31:22; Jonah 2:8 and Psalm 31:6. The use of language from the Psalms in Jonah 2 as a whole - compare Jonah 2:3 and Psalm 42:7; Jonah 2:5; Psalm 69:1 - presents Jonah as a pious worshipper, perhaps somewhat ironically in light of the book) Salters comments, “In only 48 verses ... there are so many connections with the Old Testament that one might begin to doubt if Jonah has anything new to say.” ..."
Yates, Gary The 'Weeping Prophet' and 'Pouting Prophet' in Dialogue: Intertextual Connections Between Jeremiah and Jonah (pp. 223-239) JETS 59/2, 2016