D&D 5E - Blood Spear -- Do you only gain life from certain targets?

I presumed that the description would specifically articulate that it required the target to be living if it was intended to have such a limitation, but my DM determined the target must be living (which, of course, he has every right to do). I also agree that, as written, this could permit 2d6 to be added by reducing an object (with assigned hp) to 0, but other portions of the description seem to contradict that and instead require that the target be a monster/person/creature or some other animated creature--i.e., "His was the first blood spear, a weapon that drains life from those it kills and transfers that life to its wielder, imbuing that individual with the stamina to keep fighting."

ncG1vNJzZmivp6x7prrWqKmlnF6kv6h706GpnpmUqHyjuM6om2aroJqus3nDqGSyp6VivK%2B42GaemqGeYrmqssRmnaunnWKwpr7TmqCnZaSWv6ix06xlb3BiZoF5ew%3D%3D