The correct response is:
He hoped it would deter more attacks by French ships.
Adams increased the size of the American navy primarily as a response to the threats posed by French privateers during the Quasi-War with France, aiming to protect American shipping interests.