In the natural order of things money flows toward the writer. The only place a writer signs a check is on the back.
You will create your manuscript at your own expense. Postage costs are yours. Everything else (representation, editing, publishing) is at no cost to you, and should net you money that you can use for groceries.