“And at midnight Paul and Silas prayed, and sang praises unto God: and the prisoners heard them. And suddenly there was a great earthquake, so that the foundations of the prison were shaken: and immediately all the doors were opened, and every one's bands were loosed. And the keeper of the prison awaking out of his sleep, and seeing the prison doors open, he drew out his sword, and would have killed himself, supposing that the prisoners had been fled. But Paul cried with a loud voice, saying, Do thyself no harm: for we are all here” (Act 16:25-28).
Don't be ashamed to praise God in any situation you are. Rather than give in to self-pity or bitterness, use the season to praise God as Paul wrote in 1Thes 5:18, “In every thing give thanks: for this is the will of God in Christ Jesus concerning you.” This means praising Him is what God wants you to do in situation like this and that was exactly what Paul and Silas did.
Paul and Silas didn’t praise God out of just fulfilling religious expectation, otherwise the prisoners would not hear them. It was something that came from their heart. Guess who also heard them? God! And he responded appropriately.
Praise belongs to God as he “dwells in the praises of his people.” Praise moves mountains.