You're missing their point.
If you pay off a loan, your credit score will likely decrease. Why would someone who's able to pay off a loan be considered a higher risk than someone who pays $x a month to slowly pay down the same amount?
It's absolutely about potential profit over risk. In the latter situation, the bank makes way more money.