The real problem is not p-hacking (this is bad), but the lack of replication. All problems in science can be solved with replication, but almost nobody does it because it is near impossible to get a replication study published in a worthwhile journal.
No other problem in science is more important to solve.