The secret of creating happy societies