Praise and gratitude: thanks to Allah, praise to Allah
الْحَمْدُ لِلَّهِ
When someone helps us, we thank them. But the only One worthy of praise is Allah. When flattery is given to anyone other than Allah, it brings them pride. The One who gives everything is Allah alone; another person only becomes a means for it. It is Allah who gave them that ability. No one has any ability of their own. Even if someone worships well, gives zakat, gives sadaqah and prays tahajjud, understand that they can do all of it only with Allah's help. Praise Allah, who gave them the tawfiq to do it.
When people are praised and glorified, the thought comes: أَنَا خَيْرٌ, “I am the best.” That is Shaytan's thought. Pride comes. Arrogance comes.
When a person does something for us, we should thank that person, and praise the Rabb who moved them to do it. Spiritual insight.