Question: why was myrrh considered a valuable gift for a king? 

Answer: Myrrh is a resin (tree sap) and is used in making incense. It used to be and still is to some extent very valuable.
This question from the Yahoo Q&A forum is categorized in the topic: Health