I am using bitcoin core and I was wondering. If I make a bitcoin payment using bitcoin-cli which has about 50 addresses registered to it. If the payment is for 1 BTC and I pay from the address A1 (let's use A1 instead of an actual address) but A1 doesn't have enough balance will it take money from other wallets automatically to help pay the set amount? If not then how can I make it so?
Edit: I am using 'getnewaddress' when generating these other addresses.