It is important, I think, to realize that the Bible has a wide range of answers to the problem of suffering b/c this realization reveals the problem of thinking that the Bible has one simple answer to every issue. Many people in our world take a smorgasbord approach to the Bible, picking and choosing what suits them and their views without acknowledging that the Bible is an extremely complex and intricate concatenation of views, perspectives, and ideas. There are millions of people in our world, for example, who suffer social estrangement b/c of their sexual orientation. Some of this social alienation originates among simpleminded Bible believers who insist that gay relationships are condemned in Scripture. As it turns out, that is a debated issue, one on which serious scholars disagree.
But apart from that, this condemnation of gay relations "because the Bible condemns it" is a case of people choosing to accept the parts of the Bible they want to accept and ignoring everything else. The same books that condemn same-sex relations, for example, also require people to stone their children to death if they are disobedient, to execute anyone who does any work on Saturday or who eats pork chops, and to condemn anyone who wears a shirt made of two kinds of fabric. No special emphasis is placed on one of these laws over the others - they are all part of the biblical law. Yet, in parts of society, gay relations are condemned, while eating a ham sandwich during a lunch break on a Saturday workday is perfectly acceptable.
(Source: Bart Ehrman, "God's Problem", 2008, p. 17)
(Which is the book I'm reading right now.)