Aesop's Fables (1884)
70. The Ass and his Purchaser.
A man wished to purchase an Ass, and agreed with its owner that he should try him before he bought him. He took the Ass home, and put him in the straw-yard with his other Asses, upon which he left all the others, and joined himself at once to the most idle and the greatest eater of them all. The man put a halter on him, and led him back to his owner, saying: "I do not need a trial; I know that he will be just such another as the one whom he chose for his companion."
A man is known by the company he keeps.
Aesop's Fables: A New Revised Version From Original Sources (translator not identified), 1884 . Illustrations by Ernest Henry Griset (1844-1907), John Tenniel (1820-1914) and Harrison Weir (1824-1906). Available online at Project Gutenberg.