Joshua is a given name derived from the Hebrew יְהוֹשֻׁעַ, prominently belonging to Joshua, an early Hebrew leader of the Exodus period who has a major role in several books of the Bible. The name was a common alternative form of the name יֵשׁוּעַ (Yēšūaʿ) which corresponds to the Greek spelling Ἰησοῦς (Iesous), from which, through the Latin Iesus, comes the English spelling Jesus. As a result of the origin of the name, a majority of people before the 17th century who have this name were Jewish. A variant, truncated form of the name, Josh, gained popularity in the United States in the 1920s.
Joshua and the Israelite people by Karolingischer Buchmaler, c.840
Jesus is a masculine given name derived from Iēsous the Ancient Greek form of the Hebrew name Yeshua (ישוע). As its roots lie in the name Isho in Aramaic and Yeshua in Hebrew, it is etymologically related to another biblical name, Joshua.
A 3rd century papyrus of the Gospel of Luke