I took a low-five-figure paycut when I joined the United States Digital Service[1], but that's pretty expected. It's not the sort of job you do for money.
It was incredibly worth it in terms of personal fulfillment, sense of purpose, and life-changing perspective. Economically, though, certainly not.
[1]: https://usds.gov