Yes, soldiers on the battlefield are very thankful for the land mines, assuming they're the ones who installed them. With any luck a dude from the other side might not be able to cross the field and slit their throats in the dead of the night. Just as pilots are thankful for fighter jets not crapping out in mid-air, and nuclear submarine sailors are thankful for the engineering that went into the hull, and a gunner is thankful for the shells which don't explode in the barrel of a howitzer. War is hell, but if you're going to win it (or even deter it), you'll need engineers who know how to design weapons. And this is not the kind of game that you can just decline to participate in unless you'd like to learn a foreign language in a concentration camp.
The big problem with landmines is they are not generally cleaned up after the war, leaving them around for innocents to trigger and get hurt, maimed, or killed.