Sure Luqman

31:32

وَإِذَا غَشِيَهُم مَّوْجٌۭ كَٱلظُّلَلِ دَعَوُا۟ ٱللَّهَ مُخْلِصِينَ لَهُ ٱلدِّينَ فَلَمَّا نَجَّىٰهُمْ إِلَى ٱلْبَرِّ فَمِنْهُم مُّقْتَصِدٌۭ ۚ وَمَا يَجْحَدُ بِـَٔايَٰتِنَآ إِلَّا كُلُّ خَتَّارٍۢ كَفُورٍۢ

Und wenn Wogen wie Schattendächer sie überdecken, rufen sie Allah an, (wobei sie) Ihm gegenüber aufrichtig in der Religion (sind). Wenn Er sie nun ans Land errettet, zeigen einige von ihnen ein gemäßigtes Verhalten. Und Unsere Zeichen verleugnet nur jeder sehr Treulose und sehr Undankbare.

Tafsir 31:32

And when a mountain-like wave and dark clouds surround them from all sides, they call out to Allah sincerely supplicating and worshipping Him. Then, when Allah accepts their supplication and saves them from drowning, bringing them back to land, some of them are moderate in their praise, falling short of showing due gratitude to Him, while others reject the blessing of Allah; None reject My signs except every deceitful person, like the one that promised to be grateful if Allah saved him, then broke his promise. And none reject My signs except every ungrateful person who never shows gratitude for the favours Allah grants him.