Penalized for paying credit cards ?

I usually pay credits cards within 24 hours of a bill coming through. Credit cards make 0 money from me. Is that why credit score is good not excellent ? You’d think someone who uses under 10% utilization and not missed a payment in 20 years would have the best score. I know it’s very flawed the credit score and paying it a few days before is worth more. I have friends who aren’t great with credit cards and seem to have just as good score