Is 2 hours too long to spend at the gym?

I spent two hours at the gym today. Did 35 sets total but I take a 2 minute break after every set so I basically rested 70 mins of that two hour in the gym. Between water refill and waiting for a bench that's another 10 minute break. So basically I lifted for a total 30 minutes. Good or bad?

I think that's good since you were resting in between sets if you went full no rest then I would say yes. I also think it depends on the person. I workout for 1.5 hours on weights days and I mostly am lifting with 30 sec breaks while drinking water. Sometimes though I feel it's a bit too much time. I do the ice cream fitness 5x5 workout with at least 2 more accessory lifts included.

"Better to have a short life that is full of what you like doing than a long life spent in a miserable way. And after all, if you do really like what you're doing, it doesn't matter what that is." - Alan Watts

I lift the most weight I can do for 10-12 reps. I landed in that rep range today and even went to 13,14. I really push myself and look pumped today but when I looked at my phone(i use a stopwatch on my phone) to see how long I've been at the gym it was a few minutes over 2 hrs. But factoring in my rest, I only spent 30mins of actual lifting. Just wondering if cortisols were released and ruin my future gains if I keep doing this.