1 Kings 15:1-6

1 Now in the eighteenth year of King Jerobo'am the son of Nebat, Abi'jam began to reign over Judah.
2 He reigned for three years in Jerusalem. His mother's name was Ma'acah the daughter of Abish'alom.
3 And he walked in all the sins which his father did before him; and his heart was not wholly true to the LORD his God, as the heart of David his father.
4 Nevertheless for David's sake the LORD his God gave him a lamp in Jerusalem, setting up his son after him, and establishing Jerusalem;
5 because David did what was right in the eyes of the LORD, and did not turn aside from anything that he commanded him all the days of his life, except in the matter of Uri'ah the Hittite.
6 Now there was war between Rehobo'am and Jerobo'am all the days of his life.