If I understand correctly, at the moment if someone would want to do the 51% attack, they would need to spend energy for proof of work that would overpower the rest of btc the network, which is equal to expenditure of Argentina in kWh. A lot of people complain about this expenditure.