1 Chronicles 10:14

NASB
and did not inquire of the LORD. Therefore He killed him and turned the kingdom to David the son of Jesse.