The $1.8 trillion federal budget deficit in the fiscal year that ended in September was the third biggest ever in dollar terms, trailing only the pandemic deficits of the 2020 and 2021 fiscal years.