If the ego is, everything else also is.
If the ego is not, nothing else is.
Indeed, the ego is all.
Therefore the enquiry as to what this ego is is the only way of giving up everything.