Writing on publications on Medium is going after money directly. Self-publishing boosts newsletter subscribers, and affiliate sales, and helps you sell other premium content down the line.
Indirect money always wins but direct money helps build the network for indirect money. Hence, publications can help you make more money but your mission and voice as a self-published will help you attract the right people and opportunities.