Why did Muslims use calligraphy in religious art?

Muslim artists used calligraphy to reflect the glory of Allah.