Your project isn't yours, it's your client's. I turned down better paying work because I had become so invested in the code. I was afraid to ask for a raise for the same reason. Finally my client stopped needing more features and that was that.
Your code is just a means to an end. Don't get attached to it or to a client. You are running a business. Keep good relationships, but be ready and able to cut ties.
Your project isn't yours, it's your client's. I turned down better paying work because I had become so invested in the code. I was afraid to ask for a raise for the same reason. Finally my client stopped needing more features and that was that.
Your code is just a means to an end. Don't get attached to it or to a client. You are running a business. Keep good relationships, but be ready and able to cut ties.