When we thank God, we admit that we need and depend on Him. I think it’s a good example of the virtue of humility. The Little Flower said humility is the beginning of all virtue. We acknowledge that we can do nothing without God and with Him, nothing is impossible.