According to the Bible, Joseph was 17 years old when he was taken to Egypt. Joseph was one of Jacob's twelve sons, and he was favored by his father. His brothers were jealous of him and sold him into slavery when he was 17 years old. He was then taken to Egypt and sold to Potiphar, an officer of Pharaoh. Joseph's story is recorded in the book of Genesis in the Bible, and it tells how he rose to a position of power in Egypt through his ability to interpret dreams. Eventually, he was able to save his family from a famine by bringing them to Egypt.