All across Wall Street, on equities desks and bond desks, at giant firms and niche outfits, the mood was glum. It was the end of 2022 and everyone, it seemed, was game-planning for the recession they were convinced was coming.