breeding was very important to the upper classes , and any flaw in a young lady was considered insurmountable-unless the gentleman in question needed a large influx of cash and the lady came with a huge dowry .