expend (something) in (something)
To use some resource in some action or pursuit. We've been expending most of our effort in marketing, but we really need to improve the product.
expend something in something
to use or consume something in some activity. You expend too much energy in talking. Harry expended a lot of time in the preparation of his speech.