Purpose of retelling the story of Joseph

Qur’an retells the stories of Jesus, Moses and Joseph, etc. Both Bible and Qur’an depicted the stories of Joseph who is the son of Jacob. He was born with the blessing of God, which conspicuously manifested by his dream of the sun, moon and eleven stars. Islam is a religion that parallel to Christianity. Bible and Qur’an are the supports for these two religions. Bible was written earlier than Qur’an, therefore, Qur’an retells some stories from many characters from Bible to make itself more convincible. The main purpose of retelling the story of Joseph could be correct what Islam believed that Bible misleading. Qur’an did not deny the existence of Joseph, instead, it retells it by adding its new elements in its atmosphere.