וְלֹֽא־דָרַ֥שׁ בַּֽיהוָ֖ה וַיְמִיתֵ֑הוּ וַיַּסֵּב֙ אֶת־הַמְּלוּכָ֔ה לְדָוִ֖יד בֶּן־יִשָֽׁי׃ (פ)
and inquired not of the LORD; therefore He slew him, and turned the kingdom unto David the son of Jesse.
Akeidat Yitzchak
6) There is an apparent contradiction in Samuel I 28,15, when compared with Chronicles I 10,14. We are told in Samuel, "the Lord departed from me, and did not answer me either through the prophets or in my dreams." In Chronicles we are told "he did not seek out G'd; therefore He killed him." (10,14)