These four characters combine to create a vivid image from ancient China. By stroking the beard of a superior and patting his horse, a subordinate shows exaggerated deference and admiration. The idiom freezes this image in time, forever representing the act of shameless flattery to get ahead.