The Evolution of Philosophy into Religion