There were many patriotic poets in the Qing Dynasty, such as Gong Zizhen, Qiu Fengjia, Zhang Jiliang, etc. You can search their patriotic poems on Baidu. For example:
Gong Zizhen's poem: The sun is setting in the day when I am sad about the greatness of separation, and I chant my whip to the east and point to the end of the world. Falling red is not a heartless thing, it turns into spring mud to protect flowers.
Qiu Fengjia's "Spring Sorrow": Spring Sorrow can hardly drive a strong man to look at the mountains, and the past events are shocking and bring tears to his eyes. Four million people cried together that Taiwan was cut off last year today.
Ming Dynasty: Yu Qian The lime chanted with thousands of hammers and hammers carved out the deep mountains, and the fire burned like nothing. Don't be afraid of your bones being shattered into pieces, you want to leave your innocence in this world. Qi Jiguang Xiaozhu sits back and rests in shame, worrying about the old alliance. He calls for bottles to greet the guests, waves his bows and sits down to talk about war.
The clouds protect toothpicks, and the stars contain swords. It is not my intention to be granted the title of Marquis, but I hope the sea will be peaceful.