Mayor Zohran Mamdani has painted himself as the unfortunate victim of a historic budget crisis, but he really should be counting his lucky stars.