In the minds of many people, the enemy of the enemy is their own friend. For example, when the Mongols arose, some people felt that the Southern Song Dynasty seemed to be an alliance against the Jin. So what is the actual situation?

Next, let's analyze the situation in the late Jin Dynasty. On the one hand, nearly a hundred years after the Jin Dynasty entered the Central Plains, its ruling group has largely become accustomed to the way of life in the Central Plains, which is very different from the beginning of its entry into the Central Plains. In other words, their martial spirit is gradually being lost. For example, the calligraphy works of Emperor Jin Zhangzong, who have been handed down for generations, have reached a very high level of achievement. On the other hand, the politics of the Jin Dynasty also gradually went dark.
The territory of the Yuan Dynasty
During the time of Kim Sejong, he was known as Xiao Yao Shun. Jin Zhangzong can still say it. But later, the Jin Emperor was incompetent, the officials were corrupt, and the combat effectiveness of the army declined sharply. Moreover, the people of the Central Plains under the rule of the Jin Dynasty were getting more and more difficult. In the late Jin Dynasty, there was a revolt of the Red Jacket Army. It also dealt a heavy blow to the Jin Dynasty to a large extent.
It was in this situation that the Mongols of the steppe rose. Genghis Khan himself had originally received the canonization of the Jin Dynasty. Later, after seeing the weakening of the Jin Dynasty, he decided to raise an army to break with the Jin Dynasty. At the beginning of the Mongol rebellion, they did not destroy the ambitions of the Jin Dynasty to seize the world, at best they only robbed the Jin Dynasty. Even so, the corrupt and incompetent Jin government was unable to organize an effective resistance to the Mongols. He had no choice but to move south to the Central Plains and move the capital from Jinzhongdu (Beijing) to Beijing.
Song Jinyuan situation map
The relationship between Song and Jin is a feud, after all, the shame of Jing Kang, the Song people will not forget. However, due to various reasons, it was impossible to defeat the Jin Dynasty, and it had to pay tribute to the Jin Dynasty. For more than a hundred years, there have been many wars between the two sides, and the Southern Song Dynasty has organized many Northern Expeditions. In their bones, the Song Dynasty was hostile to the Jin Dynasty. When the Song Dynasty discovered the decline of the Jin Dynasty, they stopped paying tribute to the Jin Dynasty. However, there is still no face torn with the Jin Dynasty, and there will be emissaries to the Jin Dynasty. The Jin Dynasty people, who moved south to the Central Plains, did not have a clear understanding of their situation. Not only did they not take the initiative to improve relations with the Song Dynasty, but instead took the initiative to launch an offensive against the Southern Song Dynasty to make up for the lost territory in the north. As a result, the Jin Dynasty fell into a situation of being attacked from the belly and back.
By the time Emperor Aizong of Jin ascended the throne, the Jin Dynasty was already in an embattled situation. The Jin Dynasty also tried to ease relations with the Southern Song Dynasty in order to gain all-out resistance to the Mongols. Unfortunately, at this time, the Song Dynasty had already determined a strategy of joining forces with the Mongols to eliminate the Jin Dynasty. The Jin Ai Sect sent people to make peace with the Song Dynasty, and talked about the truth of the cold of the lips and teeth. But the Song people simply did not listen, and in 1234, the Song and Mongol forces captured the city of Caizhou, Jin Aizong committed suicide, and the Jin Dynasty officially collapsed.