Alma does not “know” this from the teachings of the world, but from the spiritual mind. He says it is “of God.” This idea is paralleled in verse 26, where Alma affirms that the knowledge he has is “of God.”