Why did the Congress of Vienna aim at a balance of power?

To discourage wars.