After the death1 of Saul, David returned from defeating2 the Amalekites3 and stayed in Ziklag two days.
References for 2 Samuel 1:1
On the third day a man4 arrived from Saul's camp, with his clothes torn and with dust on his head.5 When he came to David, he fell6 to the ground to pay him honor.7
References for 2 Samuel 1:2
"Where have you come from?" David asked him. He answered, "I have escaped from the Israelite camp."
"What happened?" David asked. "Tell me." He said, "The men fled from the battle. Many of them fell and died. And Saul and his son Jonathan are dead."
Then David said to the young man who brought him the report, "How do you know that Saul and his son Jonathan are dead?"
"I happened to be on Mount Gilboa,8" the young man said, "and there was Saul, leaning on his spear, with the chariots and riders almost upon him.
References for 2 Samuel 1:6
When he turned around and saw me, he called out to me, and I said, 'What can I do?'
"He asked me, 'Who are you?' " 'An Amalekite,9' I answered.
References for 2 Samuel 1:8
"Then he said to me, 'Stand over me and kill me!10 I am in the throes of death, but I'm still alive.'
References for 2 Samuel 1:9
"So I stood over him and killed him, because I knew that after he had fallen he could not survive. And I took the crown11 that was on his head and the band on his arm and have brought them here to my lord."
References for 2 Samuel 1:10