The cost of attacking Bitcoin now exceeds billions in hardware and electricity — most attackers would lose money.