who was the man in mythology that rolled a stone up a hill then let it roll down then rolled it up again
That was Sisyphus , a figure from Greek mythology. He was punished to endlessly push a boulder up a hill, only for it to roll back down each time.
In modern usage, “Sisyphean ” describes a task that feels endless, repetitive, or impossible to finish.