it was exactly the reaction his three friends expected of him , he knew , for amongst the quality it was understood that husbands and wives were free to do as they wished-so long as they behaved with discretion .