It is easy to ignore the recent story of four U.S. servicemen killed in Niger, the giant state in central Africa, because the place is so remote and the circumstances still so murky. That would be a mistake. Niger highlights a much larger problem — just how foolish, how flat-out dumb President Trump is behaving.

Trump is a person who doesn’t connect dots — even when they’re big, fat polka dots that are hard to miss. Rather, he thinks inside narrow little boxes built from his own simplistic impulses and applause lines — and that tendency is leading us into a web of contradictions abroad. Niger is a perfect example.

I know something about Niger because I did a documentary there last year for National Geographic’s “Years of Living Dangerously” climate series and wrote several columns about it for The Times. To understand why groups affiliated with ISIS and Al Qaeda are popping up in that region of central Africa, you have to connect a lot of dots, and recognize the linkages between a number of different problems — not just say, in effect: There are bad guys there. I will call “my generals.” They will kill them. I will take credit.

As defense systems expert Lin Wells once put it: To ameliorate problems in places like Niger, you must never think in the box. You must never think out of the box. “You must always think without a box.”