Ezra no relation Book of Daniel
Background
Daniel's name means "God (El) is my judge". While the best known Daniel is the hero of the Book of Daniel who interprets dreams and receives apocalyptic visions, the Bible also briefly mentions three other individuals of this name:The Book of Ezekiel (14:14, 14:20 and 28:3) refers to a legendary Daniel famed for wisdom and righteousness. In verse 14:14, Ezekiel says of the sinful land of Israel that "even if these three, Noah, Daniel and Job, were in it, they would deliver but their own lives by their righteousness." In chapter 28, Ezekiel taunts the king of Tyre, asking rhetorically, "art thou wiser than Daniel?" The author of the Book of Daniel appears to have taken this legendary figure, renowned for his wisdom, to serve as his central human character.
The Book of Ezra (8:2) mentions a priest named Daniel who went from Babylon to Jerusalem with Ezra.
The First Book of Chronicles (3:1) mentions a son of David called Daniel.Daniel (Dn'il, or Danel) is also the name of a figure in the Aqhat legend from Ugarit. (Ugarit was a Canaanite city destroyed around 1200 BCE – the tablet containing the story is dated c. 1360 BCE.) This legendary Daniel is known for his righteousness and wisdom and a follower of the god El (hence his name), who made his will known through dreams and visions. It is unlikely that Ezekiel knew the far older Canaanite legend, but it seems reasonable to suppose that some connection exists between the two. The authors of the tales in the first half of the Book of Daniel were likely also unaware of the Ugaritic Daniel and probably took the name of their hero from Ezekiel; the author of the visions in the second half in turn took his hero's name from the tales.
no relation