Certainly that was part of it, anyway. Adams was a self-described "radical atheist" before that was a popular stance, and he and Richard Dawkins were mutual fans of each others' works and became personal friends.
What particular bits?
Any of the very clealy labelled bits about religion.