Staying in a relationship for my dog?

This sounds really silly, but I feel like I am only staying in my relationship for my dog. Unfortunately I couldn't take him with me, and it would break my heart to leave him. Has anyone been in this situation?