Noting that overly harsh and unjust punishments are a waste of taxpayer money is not the same thing at all as opposing punishments that are (believed to be) just but that are expensive. By your reasoning, since sending someone to jail costs more than not sending them to jail, this judge should believe that nobody ever should be sent to jail.