In rabbinic literature Joshua is regarded as a faithful, humble, deserving, wise man. Biblical verses illustrative of these qualities and of their reward are applied to him. "He that waits on his master shall be honored" is construed as a reference to Joshua, as is also the first part of the same verse, "Whoso keeps the fig-tree shall eat the fruit thereof" That "honor shall uphold the humble in spirit" is proved by Joshua's victory over Amalek. Not the sons of Moses—as Moses himself had expected—but Joshua was appointed as Moses' successor. Moses was shown how Joshua reproved that Othniel.