For so it was, that the children of Israel had sinned against the LORD their God, which had brought them up out of the land of Egypt, from under the hand of Pharaoh king of Egypt, and had feared other gods,  in the statutes of the heathen, whom the LORD cast out from before the children of Israel, and of the kings of Israel, which they had made.  And the children of Israel did secretly those things that were not right against the LORD their God, and they built them high places in all their cities, from the tower of the watchmen to the fenced city.  And they set them up images and groves in every high hill, and under every green tree:  And there they burnt incense in all the high places, as did the heathen whom the LORD carried away before them; and wrought wicked things to provoke the LORD to anger:  For they served idols, whereof the LORD had said unto them, Ye shall not do this thing.  Yet the LORD testified against Israel, and against Judah, by all the prophets, and by all the seers, saying, Turn ye from your evil ways, and keep my commandments and my statutes, according to all the law which I commanded your fathers, and which I sent to you by my servants the prophets.  Notwithstanding they would not hear, but hardened their necks, of their fathers, that did not believe in the LORD their God.  And they rejected his statutes, and his covenant that he made with their fathers, and his testimonies which he testified vanity, and became vain, and went after the heathen that were round about them, concerning whom the LORD had charged them, that they should not do like them.  And they left all the commandments of the LORD their God, and made them molten images, even two calves, and made a grove, and worshipped all the host of heaven, and served Baal.  And they caused their sons and their daughters to pass through the fire, and used divination and enchantments, and sold themselves to do evil in the sight of the LORD, to provoke him to anger.  Therefore the LORD was very angry with Israel, and removed them out of his sight: there was none left but the tribe of Judah  Also Judah kept not the commandments of the LORD their God, in the statutes of Israel which they made.  And the LORD rejected all the seed of Israel, and afflicted them, and delivered them into the hand of spoilers, until he had cast them out of his sight.