Answer
Ieyasu got most of his strength from Toyotomi's failed attempt to conquer Korea. This is because the war with Korea drained Toyotomi's resources and left him vulnerable to attack. Ieyasu was able to take advantage of this weakness and defeat Toyotomi at the Battle of Sekigahara, which led to the establishment of the Tokugawa shogunate.