He worked closely with British Prime Minister Winston Churchill and Soviet General Secretary Joseph Stalin in leading the Allies against Germany and Japan in World War II , and restoring prosperity to the nation's economy.