Every culture has always been concerned about the future, the afterlife and so on, but it seems to me that worries about “remote” future generations are relatively recent. There are probably isolated counterexamples, though, which I believe are the ones you are looking for. Aside from that, in the animal reign, there is of course the instinctive concern about the “next” generation, which is in turn reproduced in every following generation.
Every culture has always been concerned about the future, the afterlife and so on, but it seems to me that worries about “remote” future generations are relatively recent. There are probably isolated counterexamples, though, which I believe are the ones you are looking for. Aside from that, in the animal reign, there is of course the instinctive concern about the “next” generation, which is in turn reproduced in every following generation.