Depending on the software, it could easily end up costing more than the hardware over a similar lifespan. Hardware is a tool, software is a method for using that tool.
There are pirates in these waters. I’d think twice before defending the merchant ships again.