This quote is saying that people have great difficulty in controlling their spending when they are in a bookstore. This is because books are often so interesting and attractive that it is hard to resist the temptation to buy them, even if they are not necessary. Therefore, people tend to spend more than they should.