1 Kings 14:8

8 and tore the kingdom away from the house of David, and gave it you; and yet you have not been as my servant David, who kept my mitzvot, and who followed me with all his heart, to do that only which was right in my eyes,