Who wrote the couplets on Confucius' doorstep?

Confucius sits facing south, and the gate is a big white wall. In front of the door, there are a pair of male and female stone lions carved in a circle more than 2 meters high on the left and right sides.

The door with red border and black paint is inlaid with the head of the eldest sister-in-law, and the plaque of "Fu Sheng" in gold on a blue background is hung above the middle of the door, which is said to be the calligraphy of Yan Song, the powerful minister of the Ming Dynasty. On the bright pillars on both sides of the door, there is a couplet:

Peace and prosperity with the country; On the same day, there was an old article "The Family of Moral Saints".

According to legend, this pair of couplets was written by Ji Yun, a great scholar who wrote Sikuquanshu in Qing Dynasty. The contents of couplets vividly illustrate the prominent position of Confucius in ancient China society.