Note: This is obviously a topic meant for discussion in regards to Christian beliefs. There's obviously nothing stopping you from simply posting "I don't believe in God so this topic doesn't apply to me" but I'd rather if you're atheist/agnostic/other that you could at least say "I don't believe but here's what I think about the question". Being of a different set of beliefs and still adding to the topic is better than just derailing this thread into yet another "God doesn't exist there's no proof stop trying to indoctrinate me" argument.
I couldn't find a real proper title for this specific kind of situation. But I've been to many different kinds of churches, and I hear a certain rebuking from preachers that is contradictory from denomination to denomination. Sometimes even within the same denomination, simply spread out through different sermons.
Sometimes, I hear preachers ya know, preaching. They say that average people thank God when things are going great in their lives, but the second something bad happens to them, they abandon their beliefs and say "I don't understand why God would do this to me".
However, there are other times I hear preachers ya know, preaching. They say that average people pray to God and worship him heavily when times are bad, praying for a better life. But the second things get good for them they forget God and don't thank him for their blessings.
Now I want some opinions on this as to which example above you think is correct. Do people praise God when times are good and then run when there's rain? Or do they pray to God for help and once life is good they don't think they need God anymore as their crutch? Or could it be both and just subject from person to person?
I just saw this thread so here it goes and no I did not read others comments before commenting myself and I am doing so my own reasoning. Now on to the question at hand.
Not everyone that is a "minister" of God's word necessarily mean that they are "preaching" sound doctrine. Some preachers can do so and they are just giving their opinions of the text or perceptions while others actually study the word, the origins for deeper meaning, and then properly interprete God's word so much so that you know they are right in their approach mainly because you have studied it for yourself and where 2-3 agree (scriptural reference) there is God.
I say this part first because yeah I am a Christian as well, but I don't listen to what everyone who is in Ministry says in their roles of ministers. Also, you have to study the word for yourself. To be more direct on your questions, there is a difference between those who claim to know God and those that know or have experienced God. Not everyone is as authentic as they claim to be or as biblical as they desire as well.
For those that pray or want of God when times are good and yet turn quickly or stray away from God when things begin to get good, that just means they are not as mature in their Christian walk as they may think or want to be. Does not mean they are not Christians, just that they need to go back and do more studying and practicing of what they profess to be. Any true follower of God through Jesus Christ would honor God both when times are good and definitely when they are bad. It is natural and human like a son to his father to run to them in times of need and then become a little more loose in their relationship when they are having their way and times are good. That is just normal and we all do it.
But this is where staying grounded or humble comes into play. Those that understand (1) the sacrifice God made when he sent his son Jesus to do his will for the salvation of us all, they will not simply do what you suggested but rather stay close to him at all times, honor him for all things, and seek him even in just everyday life. That is what the bible teaches us we should do anyways, but again, like sheep we all falter at times and fall short of the perfection we all should be seeking.
(2) Romans 8:28 says...And we know that all things work together for good to those who love God, to those who are the called according to His purpose. To those that understand this famous biblical quote, we also understand not to take God for granted. What is taking God for granted? The example you gave of those that love him in good times then turn and part somewhat when things are bad. Go back and watch the Passion of the Christ. That is what they did when Jesus was being crucified. Some of the same people that both Jesus healed and even those that followed him turned on him or were not as vocal to speak up for him in his final hours oh earth in his human body.
Again, in the last assessment of your question, yeah, it can be both. People who fall into the "both" category are those that either...
1. lack in their faith or walk of faith
2. see things and/or value things of this world as more important
3. do not understand or seek to better understand God or their walk with him
4. never were truly converted to begin with
5. do not Know God for themselves
6. take God for granted
7. have a bad or incorrect or mislead understanding of God and his Word
8. Possibly need to find a new church home
9. might need to hang around a better sect of friends/fellow Christians
10. may never get to know him because they refuse to accept Him and his son Jesus as who they are and for all the reason that are stated in the Holy Bible
11. might even be hindering themselves due to a lack of trust in God or experiences where they feel God did not make things turn out the way they wanted
12. just don't get what being a Christian is all about to begin with
That is just some of what I think to answer your questions based on what I have been taught and what I have been raised to not only know, but also understand about God, His ways, His will, His word, and me. It's one thing to say your are a Christian, but it is another to know and understand the experience of walking as a Christian really means and is. I hope that answered the question and gave you a little more than just an answer as well to help you out.