The Bible is an account, written over thousands of years, of people's attempts to understand God. Parts of it are impenetrable unless you're on that journey yourself. What goes wrong is when people cherry-pick bits of it out of context: Shellfish, sexual mores, etc.