In the Epic of Gilgamesh, Enkidu who had become the king's companion dies in his youth. His death deeply affects Gilgamesh and inspires the king to escape death by searching for immortality.
This is a narrative about Enkidu's death sometime around 2700 BC.