Capitalism doesn't wither away, it imposes artificial scarcity to allow its uneven power dynamic to continue. At some point the cruelty itself becomes the point. I would argue we're already past the point where we have to deny resources to anyone, we could feed and shelter everyone if we had the will to do it.
Actually I think that right now, when we are facing the potential reality of AGI not many decades away, is when we have to collectively make the choice to become the society we truly want to become.