God doesn't need your gratitude. You need it. God will be God whether you notice or not. God will be the same whether you are grateful for his goodness or not. But you will not be the same.
Some people filter the events of their lives through a habit of grumbling.
Grumbling, fault-finding, and criticism make them miserable. Others filter equally difficult events through thanks giving. They are joyful. It is God's will that you be happy. It is Gods will that you live in glorious harmony with all things and all people.