A Talmid Chacham is expected to uphold his rank and not to compromise his dignity. As in the case of a king, he is not permitted to allow anyone to omit the performance of any public act of reverence due to him, to the effect that the Talmid Chacham acts as a facilitator, because in him the Halakha is honored or slighted. A Talmid Chacham must avoid six acts: to go abroad in perfumed garments; to walk alone at night; to wear shabby shoes; to converse with a woman while on the street ; to sit in the society of an ignoramus; to be the last to enter the beth midrash. With regard to association with an ignoramus, the Talmud says: "The Talmid Chacham is first likened by the ignoramus to a vase of gold; if he converses with him, he is looked upon as a vase of silver; and if he accepts a service from him, he is regarded as a vase of earth." Among the privileges of the Talmid Chacham is the right of declining to present himself as a witness in suits concerning money transactions before a judge who is his inferior in knowledge. The Talmid Chacham was expected to be familiar with all branches of Torah study, and even all branches of general human learning. "He who understands astronomy," says Rabbi Yochanan, "and does not pursue the study of it, of that man it is written: 'But they regard not the work of the Lord, neither consider the operation of His hands'". Rabbi Yochanan also says that only someone able to answer all Halakhic questions, even those which deal only with the insignificant treatise Kallah, is a Talmid Chacham worthy to be appointed leader of a community. In accordance with this view, some later rabbinical authorities assert that in modern times no one deserves to be called by this epithet. The principles with which the Talmid Chacham must live are enumerated in the first chapter of the work Derekh Eretz Zutta, opening with the following sentence: "The way of the wise is to be modest, humble, alert, and intelligent; to endure injustice; to make himself beloved of men; to be gracious in his interactions even with subordinates; to avoid wrong-doing; to judge each man according to his deeds; to act according to the motto 'I take no pleasure in the good things of this world, seeing that life here below is not my portion.' Wrapped in his mantle, he sits at the feet of the wise; no one can detect anything unseemly in him; he puts relevant questions, and gives suitable answers."
Attitudes toward the talmid chacham
Prizing Torah knowledge above all worldly goods, Talmidei Chachamim in Jewish society were afforded many privileges and prerogatives as well as duties. In the Middle Ages the Talmid Chacham was consulted by the Jewish community not only in spiritual matters, but also in worldly affairs. Even when he held no official position in the community, he supervised religious activities, determined the time and form of prayers, verified weights and measures, etc. To enable him to devote himself entirely to study, Jewish legislation exempted him from the payment of taxes and from performing any specific mundane duties. Rabban Shimon ben Gamliel is quoted as having said " person should always conduct himself as a talmid chacham".