Uh, your thought process is operating on the level of what you as an individual can do. But as a result, you are seeing none of the systemic problems. While your thinking is probably individually beneficial, like that of a salmon knowing to swim upstream, this salmon has no way of addressing the dam that's being built upriver. Regardless of whether the dam is built or not, it is still best to do what you can to swim upriver. But it's better for the dam not to be built and ruin your habitat.
But you're annoyed at other salmon trying to stop it, because they took a break from swimming upriver.