The are large social circles that being smart is a bad trait. There are social circles where there is little opportunity to learn as well. There’s little differentiation between baby brains and epigenetic traits aren’t set in stone by parentage, though upbringing will have a strong effect throughout life.
You don’t inherit intelligence, you get taught to throw it away or not based largely on environmental factors, including how your parents raise you.