The area was a refuge to King David.
Before he was King of Israel, David continuously was on the run from King Saul because he challenged his reign. In the book of Samuel, it says that David took refuge at Ein Gedi which is right next to the Dead Sea.