The Samsung 870 EVO 2TB wins in 2 out of 5 comparable specs, with 2 ties. Its biggest advantage is Sequential Read (195% better).
Barracuda 8TB wins in 1 spec (Capacity: 300% better).
Recommendation
Choose 870 EVO 2TB if you want the best overall performance — especially sequential read.
Choose Barracuda 8TB if capacity matters more to you.