2 Chronicles 24:20

20 Then the Spirit of God came on Zechariah son of Jehoiada the priest. He stood before the people and said, “This is what God says: ‘Why do you disobey the LORD’s commands? You will not prosper. Because you have forsaken the LORD, he has forsaken you.’ ”

Read 2 Chronicles 24:20 Using Other Translations

And the Spirit of God came upon Zechariah the son of Jehoiada the priest, which stood above the people, and said unto them, Thus saith God, Why transgress ye the commandments of the LORD, that ye cannot prosper? because ye have forsaken the LORD, he hath also forsaken you.
Then the Spirit of God clothed Zechariah the son of Jehoiada the priest, and he stood above the people, and said to them, "Thus says God, 'Why do you break the commandments of the LORD, so that you cannot prosper? Because you have forsaken the LORD, he has forsaken you.'"
Then the Spirit of God came upon Zechariah son of Jehoiada the priest. He stood before the people and said, “This is what God says: Why do you disobey the LORD ’s commands and keep yourselves from prospering? You have abandoned the LORD, and now he has abandoned you!”

What does 2 Chronicles 24:20 mean?

John Gill's Exposition of the Bible
2 Chronicles 24:20

And the Spirit of the Lord came upon Zechariah the son of
Jehoiada the priest
The spirit of prophecy, as the Targum; he was moved and influenced by it to speak what is after related:

which stood above the people;
in a desk, or sort of pulpit, in which the priests stood when they taught the people, that they might be the better heard, like that which Ezra used, ( Nehemiah 8:4 )

and said unto them, thus saith God;
being moved and directed by his Spirit, he spake in his name:

why transgress ye the command of the Lord, that ye cannot prosper?
by committing idolatry, than which nothing could more hinder prosperity, both in things spiritual and temporal, in soul and body:

because ye have forsaken the Lord, he hath also forsaken you;
because they had forsaken the worship of God, as the Targum, God had forsaken them, and was about to give them up into the hand of their enemies.

California - Do Not Sell My Personal Information  California - CCPA Notice