I’m pretty sure my AirPods Pro have only about two hours battery life, but that’s probably because they’re at least three years old by now. I still love them though and would buy them again in a second if need be. I also don’t use them for music, just meetings, podcasts and audiobooks.
I assume you have the 1st gen one — I can only recommend the 2nd gen pro, I didn’t even originally want it, just got a good deal if I buy both this and an ipad, but I use the airpod each and every day for multiple hours, and I only have to think about charging the case after several weeks. The noise cancellation on the other hand is otherworldly.