“Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, Nor sitteth in the seat of the scornful. But his delight is in the law of the LORD; And in his law doth he meditate day and night. And he shall be like a tree planted by the rivers of water, That bringeth forth his fruit in his season; His leaf also shall not wither; And whatsoever he doeth shall prosper. The ungodly are not so: But are like the chaff which the wind driveth away. Therefore the ungodly shall not stand in the judgment, Nor sinners in the congregation of the righteous. For the LORD knoweth the way of the righteous: But the way of the ungodly shall perish.”
Psalm 1:1-6 KJV,https://bible.com/bible/1/psa.1.1-6.KJV
“And it came to pass, when Rehoboam had established the kingdom, and had strengthened himself, he forsook the law of the LORD, and all Israel with him. And it came to pass, that in the fifth year of king Rehoboam Shishak king of Egypt came up against Jerusalem, because they had transgressed against the LORD, with twelve hundred chariots, and threescore thousand horsemen: and the people were without number that came with him out of Egypt; the Lubims, the Sukkiims, and the Ethiopians. And he took the fenced cities which pertained to Judah, and came to Jerusalem. Then came Shemaiah the prophet to Rehoboam, and to the princes of Judah, that were gathered together to Jerusalem because of Shishak, and said unto them, Thus saith the LORD, Ye have forsaken me, and therefore have I also left you in the hand of Shishak. Whereupon the princes of Israel and the king humbled themselves; and they said, The LORD is righteous. And when the LORD saw that they humbled themselves, the word of the LORD ...