At its core, grumbling is an expression of ingratitude to God.
Developing a habit of giving thanks requires that we intentionally and repeatedly practice it.