The Lord divides people as being grateful & as ungrateful to motivate us to join the camp of those who are grateful.
Then when Prophet Solomon saw it placed before him, he said: “This is by the Grace of my Lord to test me whether I am grateful or ungrateful! And whoever is grateful, truly, his gratitude is for (the good of) his own self, and whoever is ungrateful, (he is ungrateful only for the loss of his own self). Certainly! My Lord is Rich (Free of all wants), Bountiful” | QS 27:40.
Cheerios comrades! 🙂