Therefore night shall be unto you, that ye shall not have a vision; and it shall be dark unto you, that ye shall not divine; and the sun shall go down over the prophets, and the day shall be dark over them. Then shall the seers be ashamed, and the diviners confounded: yea, they shall all cover their lips; for there is no answer of God. But truly I am full of power by the spirit of the LORD, and of judgment, and of might, to declare unto Jacob his transgression, and to Israel his sin (Jonah 1:1-3).
The history of Israel is clearly outlined in the Bible. For generation after generation, they repeatedly fell prey to being drawn away from the Lord to serve false gods. This did not only happen to the common people, but to their kings, priests and prophets, as well. And they shall turn away their ears from the truth, and shall be turned unto fables (II Tim. 4:4).
The sin of idolatry, or worshiping other gods, is in violation of the Law of God. As a matter of fact, it breaks the first two of the Ten Commandments. It is important to remember that disobedience is the original sin and therefore encompasses all sin. I am the LORD thy God, which have brought thee out of the land of Egypt, out of the house of bondage. Thou shalt have no other gods before Me. Thou shalt not make unto thee any graven image, or any likeness of any thing that is in heaven above, or that is in the earth beneath, or that is in the water under the earth (Ex. 20:2-4).
The Lord always responded in the same way to the disobedience of the nation of Israel. His actions were always fashioned to produce the same outcome. The Lord would send some sort of correction that would cause them to turn their worship back to Him.
In these verses, the Lord is speaking to the prophets who have no faith in Him. He explains the judgment that is coming to them. Their ability to receive prophecy from the Lord was gone. This was a just punishment that should have moved them to realize how much they needed God. We all have the ultimate need for the Lord in our lives. These prophets needed God because, without Him, they would be powerless people.