Of course there's a Latin phrase for this: dulcius ex asperis