This story is found in the books of Samuel in the Hebrew Bible, sacred to Jews and Christians.
After the young shepherd David defeated the giant Goliath, King Saul brought him to live at the royal court. There David met the king's son, Jonathan, a brave warrior and the heir to the throne. The Bible says that "the soul of Jonathan was knit with the soul of David, and Jonathan loved him as his own soul." The two young men made a covenant of friendship before God. As a sign of it, Jonathan gave David his own robe, his armour, his sword, his bow and his belt.
David served Saul faithfully, and he won many victories. The people sang his praises, and Saul grew jealous and afraid that David would take his throne. More than once the king tried to kill him. Jonathan spoke up for his friend and reminded his father that David had done nothing wrong. For a while Saul listened, but his anger returned.