If you have "good" genes, presumably you had two parents both with desirable genes. I would imagine the pride comes from being proud of your parents each finding a procreation partner that had "good" genes.
Random chance and mutations are completely ignored of course.