Religion is not the only way that ideas can reinforce group solidarity—today we have nationalism and secular ideologies like Marxism as well—but in early societies it played a critical role in making possible more complex forms of social organization.