That is a complete misrepresentation of Federalist 29. And the "quote" is nonsense as one of the themes present in the entire series is an argument against the "Bill of Rights". And even the term itself, "2nd Amendment" would have been completely unknowable to the authors of the Federalist Papers.
Federalist 29 attempts to allay the fear being stirred up by anti-federalists over Article 2, Section II of the proposed new Constitution.
A sample of this is to be observed in the exaggerated and improbable suggestions which have taken place respecting the power of calling for the services of the militia. That of New Hampshire is to be marched to Georgia, of Georgia to New Hampshire, of New York to Kentucky, and of Kentucky to Lake Champlain. Nay, the debts due to the French and Dutch are to be paid in militiamen instead of louis d'ors and ducats. At one moment there is to be a large army to lay prostrate the liberties of the people; at another moment the militia of Virginia are to be dragged from their homes five or six hundred miles, to tame the republican contumacy of Massachusetts; and that of Massachusetts is to be transported an equal distance to subdue the refractory haughtiness of the aristocratic Virginians. Do the persons who rave at this rate imagine that their art or their eloquence can impose any conceits or absurdities upon the people of America for infallible truths?