“For the eyes of יהוה diligently search throughout all the earth, to show Himself strong on behalf of those whose heart is perfect to Him. You have acted foolishly in this, so from now on you shall have battles.”
“I am grieved that I have set up Sha’ul as sovereign, for he has turned back from following Me, and has not performed My words.” And it displeased Shemu’ĕ
so I said, ‘The Philistines are going to come down on me at Gilgal, and I have not appeased the face of יהוה.’ So I felt compelled, and offered a burnt offering.”
Thus Sha’ul died for his trespass which he had trespassed against יהוה, because he did not guard the Word of יהוה, and also for asking a medium for to make inquiry,