What's the difference?
Satan threw Paul and Silas into prison (Acts 16:24).
God threw Jonah into the deep, into the heart of the seas (Jonah 2:3).
What’s different?
God's purpose was to make the disobedient Jonah to pray to God in the midst of suffering (vv. 1, 2)
and to confess with faith, “Salvation comes from the Lord” (v. 9).
But Satan's purpose was to prevent Paul and Silas from proclaiming the way of salvation (Acts 16:17).
Nevertheless, God was in control of Satan’s work.
God, not only delivered Paul and Silas, who were praying and praising God in the middle of the night, from the prison (vv. 24-26), but also the jailer who drew his sword and tried to kill himself (v. 27) and his whole family, who believed in God and were all baptized (vv. 31-34).
Our God is the God of salvation!