This problem arises when the politicians are the ones making the decisions instead of experts. They don't even consult real experts, they get some report from some malicious actors and then act on it specially if that makes them "look good" and can get the polls up!
In other words the system is broken and needs fixing...
What is wrong here is that politicians should be experts themselves. The governing body has to be full of competent people from different fields ready to share their own expertise in order for the collective to land on a decision that is most beneficial to their country. But nowadays, even if the politician is not credible enough they still win and they do not do their jobs very well.