39 years old. He was 30 years old when he stood before Pharaoh, (Genesis 41.46), just before the 7 years of plenty, and his brothers came down to get food in the second year of the 7 famine years. (Genesis 45.11).
If you mean Jesus' father, Joseph, the Bible does not say. If you mean Jacob's son, Joseph, in Egypt, he died at the age of a hundred and ten(Genesis 50:26)
The Torah has been around for at least 3300 years and it makes up the Old Testament,the Old Testament was written between about 80AD and 200AD depending on the book of the bible it was