When Both Tokens Are on Solana
An exchange such as USDC to SOL stays within the same blockchain. Your balance moves from a token account into the network coin used for fees and other wallet actions.
If your aim is simply to fund the next transaction, compare the amount required for that action with what the swap would return. Converting your entire stablecoin balance may be unnecessary.