In Why would you not accept a free great person? we have a comment, twice stating:
You can also sell a great person for decent money too.
I didn't know about that, where and how?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
You can no longer sell units for gold. The commenter on that question is misinformed.
See "Balance Changes" section: https://civilization.com/news/entries/civilization-vi-fall-2016-update-now-live
Deleting a unit no longer provides gold.