Question: what to say to a friend who quit their job?
Answer: Congratulate/thank them for their time with you.
Wish them good fortune/best of luck etc. in their future endeavors.
Ask them if you can add them to your linkedin to keep in touch. Very important, as you don't want to burn bridges.