Certainly it's better to outlaw it rather than to simply allow it to happen. You will never catch 100% of the people breaking the law, but you can create an environment of transparency and accountability to help and you can make it costly enough for those who are caught to make the next person reconsider risking it.
The depressing thing about most bribery is how small the amounts of money are. Politicians take bribes in the form of campaign financing because they want to stay in power. It's easy for them to rationalize if they think they're serving the greater good, and many of them would probably prefer to take money from citizens instead.
It seems like one super rich person could fix every level of US politics by implementing a backdoor direct democracy and seeding it with matching donations. If crowdfunding has proven anything, it's that people have more than enough money to spend when they want something.
It's only now that everyone is on the internet that this idea is even possible, and no one has tried it yet.
Electioneering should be treated the same as advertising and have the same penalties for making false or misleading statements.
Your politicians aren't idiots, they rationally respond to the incentives in the system. What's broken is the system.