You know how that David my father could not build an house to the name of the LORD his God for the wars which were about him on every side, until the LORD put them under the soles of his feet.
But the word of the LORD came to me, saying, You have shed blood abundantly, and have made great wars: you shall not build an house to my name, because you have shed much blood on the earth in my sight.
Now the acts of Rehoboam, first and last, are they not written in the book of Shemaiah the prophet, and of Iddo the seer concerning genealogies? And there were wars between Rehoboam and Jeroboam continually.
For the eyes of the LORD run to and fro throughout the whole earth, to show himself strong in the behalf of them whose heart is perfect toward him. Herein you have done foolishly: therefore from now on you shall have wars.