Parent-and-child identity are not separated. The success of the child is the success of the parent, within basic parameters.
It's very naive to assume that an overriding self-interest prevents a parent from tending to their child's needs.
You may disagree with your elders on a subject, which is fine, but it's unfair to characterize them as selfish or unthinking just because you disagree with their perspective on what will benefit their children. (Children frequently do disagree with their parents, and are usually proven wrong.)
Where is this sentiment in my post? I'm saying, people aren't rational. They don't think in a deliberate, utopian fashion like your first paragraph suggests in all their thinking. We, as a species, tend to be shortsighted. And parents aren't that much better just by being parents. They still vote based on emotional and moral perspectives that end up hurting their children and future generations, though that's not their intent. Consider NC and their "bathroom bill" crap that has hurt the state's economy. Or preventing municipal broadband. Or cutting teacher pay and benefits and forcing teachers to quit or leave the state to make a decent living. Maybe it seemed like a good idea at the time, but they've fucked over every K-12 student and many others.