2 Chronicles 16:7-9

Hanani tells Asa that he has done a wrong thing

7 At that time Hanani, the prophet came to Asa, king of Judah. He said, ‘You asked the king of Syria for help and not the Lord your God. So the army of Syria's king will get away from you. 8 The armies of Ethiopia and Libya were very large. And they had many chariots and soldiers who rode on horses. But you trusted the Lord then and he helped you to win the fight against them. 9 The Lord can see everything that happens on the earth. He is strong. And he helps those who love him completely. You have done a very silly thing. So now you will always be fighting.’