From an online search, the earliest reference to the quote is from 1866, by Mr. Albert Taylor Bledsoe of Virginia, in "Is Davis a Traitor..." (Baltimore, 1866) commented about this reputed statement:
View attachment 488840
View attachment 488841
Mr. Bledsoe references above the 1860 book by Mr. Kettell, "Southern Wealth and Northern Profits." This was a book produced with a warning to the Southern States AGAINST secession, and among other reasons that the North would never let them successfully secede from the union, if for no other reason than economic ones alone.
Anyways, Bledsoe is not actually claiming to quote Lincoln. He is, to use the phrase, "putting words in his mouth" evidently.
However, from 1868, Mr. Frank H. Alfriend, (formerly publisher of the Southern Literary Messenger) published
"The Life of Jefferson Davis" which ascribed the statement directly to Lincoln:
View attachment 488843
Also published in Baltimore, in 1869, Admiral Semmes paraphrases the statement as if it came from the lips or sentiments of President Lincoln:
View attachment 488842
The statement is subsequently ascribed to Lincoln in occasional magazine articles into the 20th Century.
I have not seen any actual claim that Lincoln made any such statement himself, or that he was personally concerned with federal revenues, which were the purview of Congress to determine from whence and how to derive them.