How do I fix the lining of this bag?

I got this bag and overall like it, but it did arrive with the lining torn and I didn’t want to bother with returning it. I tried just hand sewing and reattaching the torn parts, but it ripped again. Any tips?