With Amazon's KDP, if you self publish, you get to keep 70% of the profits, if your book sells between 3 and 10 USD - otherwise 35%. Naturally, you'd need to handle all of the editing and other stuff, so it's not like there's no benefit to traditional publishing.