Hashem told him that Yehoshua ben Nun would assume leadership and that Moshe should lay his hands upon him to signify the transfer of authority. However, unlike Moshe, who had received guidance directly from Hashem, Yehoshua would be guided by Elazar the Kohein Godol, who would in turn consult Hashem by means of the Urim and Tumim. Be willing to do the right thing even if it is unpopular. Nevertheless, he was willing to sacrifice everything to do Hashem's will. We too must be willing to do the right thing, even in the face of opposition.
Family ties help a person have greater love for others.
This, said Rabbi Zalman Sorotzkin, teaches us that we should choose family life over living by ourselves. Among other benefits, a family serves as a training ground for a person to build up his love for other person. A person has natural love for his family, through which he can learn to feel and express love to friends, acquaintances and others. You can be successful even if you have less than others. The Chofetz Chayim noted that the population of the tribe of Binyamin was 45,600, while the tribe of Dan was 64,400.