Where did the phrase "elegance and ambition, poetry and books see the past and the present" come from? thank you

Elegant and lofty; Speak clearly and look at the past and present.

Jia Lian 2000 was written by Ding Baozhen, but it is actually a collection of sentences by Du Fu and Chu Guangxi in Shi Ding.

Looking at ancient and modern poems, this should be later, right? I'm not sure.

From the perspective of couplets, clear words are neat and elegant.

Not necessarily accurate, but I hope it helps.