At least in the UK this is done as well as pulling your credit score, traditionally it's not a factor feeding into your credit score. Banks check both your history of paying off debts and your ability to continue doing so, it doesn't matter how good your score is, if you ask for an unsecured loan that's 20x your annual income over the next 5 years it's going to get refused.
This is all somewhat complicated by recent products from credit agencies, which make use of the Open Banking standard to pull data direct from your bank accounts and use that data to feed into credit scoring as well.