Then , when he saw it settled before him , he said , ' This is of my Lord 's bounty that He may try me , whether I am thankful or ungrateful . Whosoever gives thanks gives thanks only for his own soul 's good , and whosoever is ungrateful -- my Lord is surely All-sufficient , All-generous . '