No - costs generally implies what you spend. "Whatever it takes" includes a lot more than buying stuff. (Yes, there are other meanings for costs , and "at all costs" also includes more than buying stuff.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.