To choose the right course and follow it; to select what is good and adopt it or learn from it. This idiom originates from the "Analects" of 孔子kǒngzǐ, which suggests that when walking with others, one should identify their good qualities to follow and their bad qualities to correct in oneself.