"deep mud, bog, marsh, swampland," c. 1300, from a Scandinavian source such as Old Norse myrr "bog, swamp," from Proto-Germanic *miuzja- (source of Old English mos "bog, marsh"), from PIE *meus- "damp" (see moss).
adjective suffix, "full of or characterized by," from Old English -ig, from Proto-Germanic *-iga- (source also of Dutch, Danish, German -ig, Gothic -egs), from PIE -(i)ko-, adjectival suffix, cognate with elements in Greek -ikos, Latin -icus (see -ic). Originally added to nouns in Old English; used from 13c. with verbs, and by 15c. even with other adjectives (for example crispy).
<a href="https://www.etymonline.com/word/miry">Etymology of miry by etymonline</a>
Harper, D. (n.d.). Etymology of miry. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/miry