Europe’s Greece, America’s Afghanistan

Why are the investments Europe and the United States made in Greece and Afghanistan, respectively, failing to bear fruit?