Money would be no object when compared with the value of the acquisition.
Context: The then Secretary of State instructed his agent to attempt to purchase New Mexico and part California from Mexico:
James Buchanan, 1791-1868, 15th President of the United States (Democrat, PA), Instructions to John Slidell, 1845
Sourced by: Eigen's Political and Historical Quotations