Plenty of blame to go around for this particular war. The Mexicans thought they would roll over the infidel gringos and large numbers of mostly southern Americans were ridiculously jingoistic.
Representative Lincoln voted against the Declaration of War, but then in a reverse of John Kerry, voted for supplies for the troops.
The only useful blame for a war belongs on those who let themselves get too weak to deter it.