an attitude toward God
In two of Jesus' parables He paints a picture of what happens when we develop an attitude toward God.
In one, we're told of a servant who says to his master, "I knew that you are a hard man, harvesting where you have not sown and gathering where you have not scattered seed. So I was afraid and went out and hid your gold in the ground. Here's what's yours" (Matthew 25:24-25). In another, we hear of an elder son who says to his gracious father, "Look! All these years I've been slaving for you and never disobeyed your orders. Yet you never gave me even a young goat so that I could celebrate with my friends" (Luke 15:29). In both cases we see people who, over the years, develop a bitter attitude towards master or father, such that, in both cases, they miss out on the mercy of their father and the joy of their master, perhaps permanently.
In this culture of criticism and complaint it's very easy to develop an attitude toward God. The systems of this world are designed to foster dissatisfaction, a perspective which can be monetized in our getting what we don't have and can be used by the enemy to turn us against the God of all grace. Over time, a bitter root grows deep in us, separating us from God, causing trouble not only for us, but also defiling many around us (Hebrews 12:15). If you look at personal and public cases of so-called "deconstructing" faith, you'll more than likely find this bitter posture towards God.
So guard your heart. Express your desires and disappointments directly and regularly to God in prayer: don't the sun go down on your anger. He can take it (just check out Psalm 88) and He will respond to you. But also be sure to give Him thanks for the great benefits you've already received at His generous Hand. You surely don't want to be among those whose attitude towards God insulates them from receiving of His Goodness.