Texts meaning an original work, the work from which we first learn what we know. For example, the Iliad by Homer is a text , as are the Creation Myth of the Akkadians , the Aeneid by Virgil and all the plays we shall be reading. A text in this sense is called a primary source. Myth is not religion. A myth is a traditional story.
Religion is what is or was believed, a set of beliefs which motivates a course of action.
Myths often justify the religious practice or form of worship but are not themselves the religion.