1, Song Taizong is too underestimating the enemy.
Before Song Taizong raided the Khitan, it mainly attacked the small northern Han Dynasty. At that time, the Northern Han Dynasty was backed by the Khitan. Song Taizong attacked the Northern Han Dynasty, but the Northern Han Dynasty was defeated, and the Khitan came to rescue him. As a result, Song Taizong defeated the Khitan, and the Khitan reinforcements fled. Song Taizong, who won the victory, soon became complacent, thinking that he was the best in the world. He felt that he was just a Khitan and vulnerable, and it was easy to lay the Khitan. Ignoring the enemy in battle is basically doomed to failure.
2. Song Taizong did not do a good job in logistics.
The soldiers and horses did not move, and the food and grass went first. When Song Taizong fought in the Northern Han Dynasty, he did a good job in logistics. But on the spur of the moment, he decided to raid the Khitan, ignoring the logistics work, which led to the logistics failing to keep up. Failure to keep up with logistics means that many soldiers have to fight with broken knives on an empty stomach. This can't fool the Khitans at all.
3. The Khitans have certain military strength.
Although the Khitans lost to the Song army when supporting the Northern Han Dynasty, it was not their real strength, because they didn't care much about the survival of the Northern Han Dynasty. Zhao Guangyi's raid on the Khitan is a matter of life and death for the Khitan, and the Khitan people will definitely do their best. The Khitans, who tried their best, are still relatively strong in fighting capacity. They will not fall behind when they join the team in the Song Dynasty.