The Chancellor’s comments came amid a possible leadership challenge against Prime Minister Sir Keir Starmer.