2 Chronicles 16:9

9 For the eyes of the LORD range throughout the earth to strengthen those whose hearts are fully committed to him. You have done a foolish thing, and from now on you will be at war.”

Read 2 Chronicles 16:9 Using Other Translations

For the eyes of the LORD run to and fro throughout the whole earth, to shew himself strong in the behalf of them whose heart is perfect toward him. Herein thou hast done foolishly: therefore from henceforth thou shalt have wars.
For the eyes of the LORD run to and fro throughout the whole earth, to give strong support to those whose heart is blameless toward him. You have done foolishly in this, for from now on you will have wars."
The eyes of the LORD search the whole earth in order to strengthen those whose hearts are fully committed to him. What a fool you have been! From now on you will be at war.”