Mankind didn't start out with religion though. It didn't develop until sometime after mankind discovered the secrets of survival. Humanity started out worshiping fire after fire was discovered, then it created deities sometime after cavemen died out. So really, religion started after the Stone Age ended.