

I don’t think anyone denies that whatever happens after you no longer pass your genes around has no evolutionary effect.
Whether helping your offspring is evolutionarily helpful or not might be debatable (I don’t see how it would not be helpful though)
Even in beings that not form societies it has an impact. Example:
You reproduce, then instantly die. Now your offspring have more available resources around them, since you no longer consume them
Or, your reproduce and you become much stronger, but not aggressive towards non-predators. Now predators are less likely to be near you, and your offspring are probably near you. Therefore, they probably benefit from having less predators around.
The difference between treason and a revolution is which side wins at the end.
Just make sure you’re enough people doing it.