Sefer Chasidim Siman 870
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
יעקב שיש לו שני בנים אחד אינו משאיל ברצון טוב ספריו ואחד משאילם ברצון טוב מוטב שיתן יעקב למשאיל ויהיה לנפשו של יעקב טוב:
Medieval Jewish mysticism, translated by Sholom Alchanan Singer. Northbrook, Ill. Whitehall Co., 1971
Yakov who has two sons - one who lends his seforim to people willingly whereas the second one lends in no good will - should give a present (if he wishes to do so) to the one who lends willingly and goodness shall rest on him.