The continued growth in the fourth quarter showed the resilience of consumers and businesses in the face of inflation and rising interest rates.