Pensée juive sur Chroniques 1 10:14

וְלֹֽא־דָרַ֥שׁ בַּֽיהוָ֖ה וַיְמִיתֵ֑הוּ וַיַּסֵּב֙ אֶת־הַמְּלוּכָ֔ה לְדָוִ֖יד בֶּן־יִשָֽׁי׃ (פ)

au lieu de rechercher l’Éternel. Celui-ci le fit périr et fit passer la royauté à David, fils de Jessé.

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)