Continue writing the following text.

He kept spending the money in his wallet by putting groceries in the cart until the
wallet was empty.