Justices make a pretty good living, but if making lots of money is one's primary objective, don’t go into federal service. Resign and go into private practice. Or better yet, don't go for a federal position in the first place.
Otherwise, our system is for sale to the highest bidder: exactly why we need an actual, enforceable code of ethics for SCOTUS.