Why did the Ming army, who was also in the Wanli period, win the Japanese and return after the Jin army was defeated miserably?

Why did the Ming army, who was also in the Wanli period, win the Japanese and return after the Jin army was defeated miserably?
During the Wanli period, the internal and external wars of the Ming Dynasty were very frequent.

during the Wanli period, the internal and external wars of the Ming Dynasty were very frequent, but the foreign wars of the Ming Dynasty in the Wanli period ended in the opposite direction: during the Anti-Japanese War of the Ming Dynasty from 1592 to 1599, the Ming army and the Korean army fought a bloody battle and won a great victory in the War of Resistance against Japan and Aid Korea, so that Japan did not dare to peep into Chinese territory for 300 years.

Show off your curvy figure and have it shaped by our stylish short white wedding dresses. They are perfect for any occasion.