This quote is suggesting that writing is similar to having sex. It starts off in life as an expression of love, something that you do to show your affection and bring you closer to someone else. After that, you do it more to please the people around you – friends, family, colleagues, etc. Lastly, you start doing it for the money. This might happen if, for example, you become a professional writer, and you are hired to write content for clients.