Lyndon Johnson actually said...
My regret at your leaving is tempered by satisfaction in the knowledge that you intend to continue your service to your country.
Context
Letter Accepting Resignation of Robert F. Kennedy as Attorney General.
09/02/1964