Taking into consideration, because of, as in What with all you have to carry, we should take a taxi. This usage replaced the earlier what for. [c. 1600]
The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.