Sergei believes that his timely advice helped Lushkoff stop begging and become financially independent. From his perspective, he is right, as he doesn’t know that it was Olga who chopped wood for Lushkoff.
In any case, the result is that Lushkoff’s life is back on track. There is a saying, “All is well that ends well.”