Couldn't finish 1st class. Am I cooked?

I just had my 1st Judo class and it was a really humbling experience. I came a bit early so the sensei, who was pretty friendly, had me do like 15 min of Tsukuri(? The footwork you do before throwing), then 20min warm up (jogging, pigeon walk, some ab exercices) then 10min of rolling around/ learning how to fall. Finally we drilled a throw with 1 colleague(I forgot the name). At this point I was just too exhausted to continue and had to go shower early.

This was a real wake up call to my fitness level as Ive been lifting weights for years, but Ive always known my cardio is subpar. I was planning on lifting weights 2-3times and going to Judo practice 3 times a week. Should I replace those weight lifting sessions with cardio sessions? Or should I just be patient and the Judo class will improve my cardio on its own?

All in all I really enjoyed my time and Im very motivated for this journey.

Edit: Wow, thanks for the positive words guys! I wasn't planning on giving up but I'm even more motivated now. Next class is Tuesday. I'll make sure to stay hydrated and get good rest leading up to it.