It would have been hard to imagine 23 months ago, when he came into office riding around on a bike with a rose-colored helmet, talking about swagger and nightlife and ending an eight-year run of earnestness and earth tones in City Hall, that it would be Eric Adams cast in the role of Scrooge while Bill de Blasio, newly separated, out there dating a married woman and wearing cobalt blue, brought the heat. On some level, the promise of Eric Adams was that he would restore energy and charisma to a city emerging from a pandemic, that New York would become more fun. But in many ways it has seemed only more Dickensian.

Consider the candlelit vigil held last week, eight days before Christmas, in Greenpoint, Brooklyn, to mourn the final day of Sunday service for the local branch of the library. Budget cuts, ordered by the mayor, which he maintains are unavoidable in light of the burdens inflicted by the migrant crisis, have meant that nearly all libraries around the city will be closed on Sundays. They have also been forced to reduce spending on books, programs and building repairs. Emily Gallagher, a member of the State Assembly who attended the funereal gathering, called the reductions “cruel and unnecessary.”

This week, a report from Columbia University’s Center for Justice outlined the dangers of solitary confinement, which has been pervasive in the city’s jail system. Despite promises to end it, the report stated, the Department of Correction simply rebranded the practice as “structurally restrictive housing.” It still isolated inmates for 23 hours a day, just in slightly larger cells. In one instance, the study noted, jail guards forced a detainee to make sexually explicit comments while he sat naked in a squatting position, then placed him in solitary for several months in an effort to cover up their abuses.

The report urged the City Council to pass a law that would ban solitary confinement and allow people in custody at least 14 hours a day out of their cells, with limited exceptions after eruptions of violence. On Wednesday, the law was passed. But Mr. Adams opposed the bill all along and has threatened to veto it, arguing in a radio interview after the vote that the value of a disciplinary tactic the United Nations has designated as torture has essentially been misunderstood by a “far left” indifferent to public safety.

There is no question that the steady flow of migrants from the border into a city that is mandated to provide shelter for all has exponentially complicated the matter of governing it. Mr. Adams has repeatedly said that the crisis is unmanageable in the absence of more funding and strategic help from the federal government. This week he called on New Yorkers angry about billions of dollars in proposed budget cuts to direct their outrage at Washington, march there and demand more money, a gesture political observers immediately registered as overly aggressive in that it would be likely to further alienate the Biden administration.