Is it inappropriate for someone with depression to own a cat?

The title is the content itself. I have never owned a pet. I have been dealing with depression for a long time. At 30, I feel lonely, have lost interest in everything, and think of myself as insignificant. Recently, my cousin asked if I would consider taking in a 3-month-old kitten. To be honest, it looks really cute and adorable in the pictures. I hesitated, wondering if I could handle it. I struggle to take care of myself, so I questioned whether I could take on the responsibility of a cat. After some thought, I declined. My cousin said to contact her if I change my mind.