It also required expensive ROM chips and cartridge assembly and came in a full color box with a full color manual.
Digital games don’t come with anything and don’t cost anything to ship.
Not to mention that salaries have absolutely not kept up with inflation so it’s not like that money is going to the developers.
That’s somewhat common here if you don’t live in the area that the library system serves. For instance you might live over the county line but this library is still far closer than the ones your taxes go to.