Why it counts for so much
A lender is trying to answer one question: if we lend this person a large sum and they agree to a monthly payment, will they pay it? The best available evidence for that is how they have handled every other monthly payment so far.
So payment history carries the most weight of anything in your file. It is not a moral judgment. It is the most predictive thing a lender has.