Knowing what total comp is like for those companies, I'm sure Facebook more than exceeded the price one might put on ethics.
I've personally resigned from positions for less and it hasn't cost me much comfort in life (maybe some career progression perhaps but, meh).