I haven't gambled in six months but I relapsed and went back

I haven't gambled in six months but I relapsed and went back and I lost almost all my money months pay...I wish I had emotional strength to stop as it is damaging psychologically and hindering me from achieving my goals. It takes away my ability to happy and confident. It leaves me miserable and with negative thought im a failure.

What are you willing to do in order to curb your gambling habit?