You can't complain and have gratitude at the same time.
Do all matters without complaining and disputing, in order that you be blameless, perfect and faultless, sons of Elohim without blemish in the midst of a crooked and perverse generation, among whom you shine as lights in the world, holding on to the Word of life, for a boast to me in the day of Messiah, that I have not run in vain or labored in vain. Philippians 2:14-16