It's an idiom. If something runs in the family, It means that (relatively) many people in the family have a particular quality (happiness in this case).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.