Are you more likely to forget about God when things are going good or when things are going bad?
“Bless the LORD, O my soul, and forget not all his benefits...” (Psalm 103:2)
“Remember the whole way that the LORD your God has led you these forty years in the wilderness, that he might humble you, testing you to know what was in your heart, whether you would keep his commandments or not. And he humbled you and let you hunger and fed you with manna, which you did not know, nor did your fathers know, that he might make you know that man does not live by bread alone, but man lives by every word that comes from the mouth of the LORD. Your clothing did not wear out on you and your foot did not swell these forty years. Know then in your heart that, as a man disciplines his son, the LORD your God disciplines you...”
For the LORD your God is bringing you into a good land, a land of brooks of water, of fountains and springs, flowing out in the valleys and hills... Take care lest you forget the LORD your God by not keeping his commandments and his rules and his statutes, which I command you today, lest, when you have eaten and are full and have built good houses and live in them, and when your herds and flocks multiply and your silver and gold is multiplied and all that you have is multiplied, then your heart be lifted up, and you forget the LORD your God, who brought you out of the land of Egypt, out of the house of slavery, who led you through the great and terrifying wilderness, with its fiery serpents and scorpions and thirsty ground where there was no water, who brought you water out of the flinty rock, who fed you in the wilderness with manna that your fathers did not know, that he might humble you and test you, to do you good in the end. Beware lest you say in your heart, 'My power and the might of my hand have gotten me this wealth.' You shall remember the LORD your God, for it is he who gives you power to get wealth...” (Deuteronomy 8:2-18)