The wars were the CAUSE of the brilliance.
Inbreeding only works out if the inept, the weak, and the stupid are kept from breeding. In the Medieval aristocracy, if you were a stupid nobleman, then you were conquered, all your blood line killed, and your lands given to the progeny of your more-capable conqueror.
Most of those wars were real-estate based.