Where does "Since ancient times, beauties have had a bad life" come from? What about the upper and lower sentences?

From the couplet on the tomb of Yu Ji in Lingbi, Anhui Province, made by Ni Yuanlu

What can Yu Xi do? Since ancient times, beauties have had bad luck;

Where is Ji Ye? The green tomb is left alone to face the dusk.

Nowadays, Yu is still worshiped, but there is no Gaohou Temple in the Eastern Han Dynasty;

Si is really domineering, and Xishi is ashamed to go to the Fan family boat.

The horizontal couplet on the tomb is "Heroine"

Ni Yuanlu (1593-1644), courtesy name Ruyu and nickname Hongbao, was born in Shangyu, Zhejiang, and was a famous calligrapher and painter in the Ming Dynasty. Jinshi...the lines are widely spaced, pay attention to rhythm changes, and calligraphy is good at Qi Gu.