This, absolutely.
No-one, least of all me, is denying that a lot of breeds (often the most fashionable ones) are in a holy mess.
However, in many pedigree breeds, it is now very straightforward to buy a puppy that has been genetically tested for all the conditions that affect the breed and can be guaranteed not to inherit them. A pedigree bought from a GOOD breeder will be far more predictable for temperament, size, coat care, looks etc. than a rescue.
Breed rescues are obviously an option, but bear in mind that the pedigrees that end up in rescue are often not the ones from reputable breeders, who would have a contract in place with buyers that the dog should be returned to them. (No guarantees on this, obviously - buyers are often too embarrassed to return them to the breeder, or don't think this stands a few years down the line.)
I mean, get what you both agree suits you as a family, be that pedigree or rescue (crossbred or purebred) - it is just frustrating to have it trotted out that all pedigrees are just bundles of disease, when it is scientifically not the case.
IF you decide on a pedigree, just make sure you buy something that is bred for a purpose that will suit you, rather than something you like the look of - don't buy a beagle or a husky if you want to be able to let it off the lead regularly, don't buy a dog from strong working lines if you don't want to put extensive work in on training.