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