He ______ about to give up his job when they offered him a rise.