what's the purpose of the life?

i was working out today then I thought to myself "why am I doing this? "why am I suffering?" "I'd rather eat like a pig and kms in few days" im not living for anything or nothing's holding me back, I hate talking to people and feel lonely, I cant do anything about it, im just raw dogging my life, I'd rather end it tbh