In his commentary on a section of Parashat VaYigash, R. Dr. J.H. Hertz (The Pentateuch and Haftorahs, Soncino, London, 5723, p. 175) makes a curious comment when he quotes, and apparently agrees with C.F. Kent (an American Old Testament scholar https://en.wikipedia.org/wiki/Charles_Foster_Kent ):
This is the crucial test of Joseph’s character. For the viceroy of Egypt to acknowledge as his own brothers the rude Canaanite shepherds, who had besides given him every reason for repudiating them, called for the highest loyalty and devotion.
“Many men resist the temptation of youth, and attain to positions of eminence, and they fail to pay the debt which they owe to their humble kinsmen that have helped them to succeed. With Joseph, the debt, if any, was small. There was also no absolute necessity of revealing his identity, much less of inviting his uncouth kinsmen to the land of Egypt. His action, therefore, shows a simple nobility of character, rarely equaled in the past or present.”