The Bible includes wordplays on the name “Noah”, as explained by Matthew L. Bowen:
The use of polyptoton and paronomasia together involving a single name is also found in Biblical Hebrew narrative. … “Noah,” which connoted “[divine] rest,” interplays with forms of the related root *nwḥ and the unrelated root *nḥm (to “comfort,” “console,” “be sorry,” “regret”) throughout the flood narrative. Noah (nōa ḥ, “[divine] rest”) is said to “comfort” (ye naḥa mēnû) his forefathers concerning their work and toil (Genesis 5:29), which interplays with the Lord’s “regretting” (wayyināḥem, niḥamtî) over having created humanity (6:6–7), the ark coming to “rest” (wattānaḥ, 8:4), the dove’s attempt to find “rest” (mānôa ḥ, 8:9), and the “sweet savour” (rēa ḥ hannîḥōa ḥ) of the sacrifice that appeased the Lord after the flood (8:21).– Matthew L. Bowen – “And He Was a Young Man”: The Literary Preservation of Alma’s Autobiographical Wordplay
Interestingly the Book of Mormon also includes wordplays on the name Noah but in an ironic sense:
We find a similar use of polyptoton and paronomasia on *nwḥ and *nḥm in the lead-up to Alma’s story. King Noah and his priests are caricatured as the moral obverse of the biblical Noah. King “Rest” causes the people to “labor exceedingly to support iniquity” (Mosiah 11:6), while his priests laze about on an ornate breastwork built so “that they might rest [*wayyannîḥû] their bodies and their arms upon [it] while they should speak lying and vain words to [the] people” (11:11). Ironically, neither Noah nor his priests understood their role in achieving Isaiah’s prophetic promise “the Lord hath comforted [niḥam] his people” (Isaiah 52:9; quoted by a priest in Mosiah 12:23, see 12:20–27), an idea integral to the folkmeaning of Noah’s name: (“This same shall comfort us [ye naḥa mēnû] concerning our work and toil of our hands,” Genesis 5:29) and to Zeniff’s hopes for his son and his people (cf. Mosiah 10:22).– Matthew L. Bowen – “And He Was a Young Man”: The Literary Preservation of Alma’s Autobiographical Wordplay
Why is this wordplay in the Book of Mormon? Would Joseph Smith have known the Bible well enough to compose this?