However, the Troops of Sector 6, Operation Whirl Stroke (OPWS), successfully repelled the attack on the community.
Two soldiers have been shot dead by bandits alongside an officer of the Nigeria Security and Civil Defence Corps (NSCDC).
The incident happened during a gun-battle at Okokolo community in Agatu Local Government Area (LGA) of Benue.
However, the Troops of Sector 6, Operation Whirl Stroke (OPWS), successfully repelled the attack on the community.
The OPWS Force Commander, Maj.-Gen. Sunday Igbinomwanhia, told newsmen in Makurdi on Saturday that the troops forced the bandits to run in disarray after a three-hour battle on Thursday.
He, however, said two soldiers and one personnel of the Nigeria Security and Civil Defence Corps lost their lives in the encounter while two other soldiers sustained injuries.
The OPWS force commander said those injured were rushed to Air Force Hospital in Makurdi, and were responding to treatment.
He said that the troops rushed to the community when they received intelligence that bandits were heading to the area.
"Upon inquiry, the troops discovered that suspected bandits were advancing towards the town to attack it and they immediately mobilised and proceeded to Okokolo community, about 15 km from their base at Akwu.
"On arrival, the troops encountered the bandits carrying out attack on the community and subsequently engaged the criminals in a gun duel that lasted for three hours.
"The attack was successfully repelled with the terrorists withdrawing in disarray while evacuating their dead and wounded.
"The success achieved was however at a huge cost, with three of the troops paying the supreme sacrifice to prevent the killing of the inhabitants of Okokolo and the intended sacking of the community.
"In addition to the death of the two soldiers and one Nigeria Security and Civil Defence Corps personnel, two other soldiers were wounded and immediately evacuated to the Air Force Hospital in Makurdi,” he added.
The force commander commended the troops and urged them to put the set back of the loss of their colleagues behind, and remain focused on the mission of ridding the state of all criminal elements.
He assured the troops that the Chief of Defence Staff was strongly behind them as they battle to restore lasting peace in Benue.
Igbinomwanhia appreciated Gov. Hyacinth Alia for his support to OPWS, and pledged that the troops would pursue the criminals to their hideouts.
The News Agency of Nigeria (NAN) reports that the state Deputy Gov., Mr Sam Ode, and the OPWS commander, had visited the troops of Sector 6 on Friday at their base in Akwu.
The visit was to commiserate with them over the death of their gallant colleagues and encourage them not to give breathing space to the criminals.
Ode who represented the governor, said that the state government would support the treatment of those injured.