The main virtue of weeping is when the weeping is out of joy and gladness. And even regret is very good when it is out of joy, that out of his great joy in God, may He be blessed, he regrets and longs very much over having rebelled against Him, until weeping is aroused in him out of joy (Likutei Moharan I, Torah 175).