Moroni quotes Malachi's prophecy of the coming of Elijah to Joseph.
Joseph Smith-History 1:38-39, Pear of Great Price, The Church of Jesus Christ of Latter-day Saints, accessed August 2, 2024
38 And again, he quoted the fifth verse thus: Behold, I will reveal unto you the Priesthood, by the hand of Elijah the prophet, before the coming of the great and dreadful day of the Lord.
39 He also quoted the next verse differently: And he shall plant in the hearts of the children the promises made to the fathers, and the hearts of the children shall turn to their fathers. If it were not so, the whole earth would be utterly wasted at his coming.