That may be true, it may not. You gave no orginial source for this quote. However we do know this----
Abraham Lincoln, Speech at Columbus, Ohio, September 16, 1859,"
The American people, on the first day of January, 1854, found the African slave trade prohibited by a law of Congress. In a majority of the States of this Union, they found African slavery, or any other sort of slavery, prohibited by State constitutions. They also found a law existing, supposed to be valid, by which slavery was excluded from almost all the territory the United States then owned. This was the condition of the country, with reference to the institution of slavery, on the 1st of January, 1854. A few days after that, a bill was introduced into Congress, which ran through its regular course in the two branches of the National Legislature, and finally passed into a law in the month of May, by which the act of Congress prohibiting slavery from going into the territories of the United States was repealed. In connection with the law itself, and, in fact, in the terms of the law, the then existing prohibition was not only repealed, but there was a declaration of a purpose on the part of Congress never thereafter to exercise any power that they might have, real or supposed, to prohibit the extension or spread of slavery. This was a very great change; for the law thus repealed was of more than thirty years' standing. Following rapidly upon the heels of this action of Congress, a decision of the Supreme Court is made, by which it is declared that Congress, if it desires to prohibit the spread of slavery into the territories, has no constitutional power to do so. Not only so, but that decision lays down principles, which, if pushed to their logical conclusion---I say pushed to their logical conclusion---would decide that the constitutions of the Free States, forbidding slavery, are themselves unconstitutional. Mark me, I do not say the judge[s?] said this, and let no man say that I affirm the judge[s?] used these words; but I only say it is my opinion that what they did say, if pressed to its logical conclusion, will inevitably result thus. [Cries of ``Good! good!'']