Moral obligation towards future generations

Can modern societies still be held accountable for what their nation did in the past? Do we have any moral obligation towards future generations? Why? Explain.