suggests that
advance knowledge of a danger or difficulty allows people to prepare and respond more effectively.
also
In vain the net is spread in the sight of the bird.
The saying “Forewarned is forearmed” can be used when someone who is informed about a danger or imminent problem, that gives them a tactical advantage.