The correct explanation for the purpose of the establishment clause of the First Amendment is:
The clause was designed to prevent the government from creating an official government religion.
The establishment clause prohibits the government from establishing an official religion or unduly favoring one religion over another, thereby ensuring the separation of church and state.