What is the meaning of [Books and friends should be few but good]

People who have too many books often find they haven’t any time to read them.
In the same way people with too many friends cannot find enough time to
cultivate friendship with all of them. It is therefore better that both
friends and books should be few in number and good in quality.