Confucius is widely known as one of the greatest philosophers in the history of China. He is credited to have recommended family as the primary source or state of the ideal government. According to him, family loyalty matters a lot.
Hence, in this situation, the Confucius teaching, it would be ideal for Shang to attend and cater to his mother first. Because that's a form.of IDEAL GOVERNMENT