I have noticed so far in my readings that there seems to be a similar pattern in the way in which God has our back or leaves us to our own devices.
God gives us free will to choose and do whatever we would like to do or pursue. However, all of our choices are not always backed by God. God remains behind those that follow His ways and serve Him with all their hearts. For those who choose to turn their backs upon God, do what is right in their own eyes, and follow other Gods; God does not support them and bless their ways.
There are many examples in the Bible where people were blessed and had the hand of God on everything that they did. However, these people were not following their own ways. They had confessed and admitted their sins before God, repented of their ways (deciding to no longer follow their old ways and the things that they had done, but follow the ways of God). As they kept their focus and direction facing towards God, God blessed and showed them favor.
Now, for the people who turned their backs on God, did what was right in their own eyes, and followed other Gods; their way was not so easy or pleasant. There may have been some areas which seemed pleasant for a time, when they were in their sin. Ultimately, disastrous events were allowed to come upon them and destroy them. These disastrous events were not sent by God, but merely allowed by God (God did not step in to prevent them). [If a person does not want God to intervene in their own selfish ambitions and ways that look good to them, why would the be expecting God to intervene when bad circumstances come upon them. Therefore, they would be wanting God to intervene only when it is comfortable for them to have Him in their lives, but not all the time.] Their crops were not plentiful, they did not receive the blessings which God had waiting for them.
In both choices, God has never left the people or forsaken them, He is always there. When the people were doing right, God’s hand was with them and all that they did. When the people were going their own way, God was there waiting for their return and repentance.
“And Samuel said unto the people, Fear not: ye have done all this wickedness: yet turn not aside from following the LORD, but serve the LORD with all your heart; And turn ye not aside: for then should ye go after vain things, which cannot profit nor deliver; for they are vain.For the LORD will not forsake his people for his great name’s sake: because it hath pleased the LORD to make you his people” (1 Samuel 12:20-22, KJV).
“If ye will fear the LORD, and serve him, and obey his voice, and not rebel against the commandment of the LORD, then shall both ye and also the king that reigneth over you continue following the LORD your God: But if ye will not obey the voice of the LORD, but rebel against the commandment of the LORD, then shall the hand of the LORD be against you, as it was against your fathers” (1 Samuel 12:14-15, KJV).