Louis Pasteur, the great scientist, said "chance favours the prepared mind", which is a posh way of saying 'do your homework', but it's an excellent piece of advice.
A prince who is not himself wise cannot be wisely advised. . . . Good advice depends on the shrewdness of the prince who seeks it, and not the shrewdness of the prince on good advice.