Would you go into a relationship knowing it will end?

M C
I'm in a relationship with this guy and we both know that I'm gonna have to leave him in a year or so because of family. I was raised to have an arranged marriage and the guy I'm in a relationship with doesn't meet the criteria at all. So I told him that I will always choose family and we're both content with this decision to end our relationship a year from now. Am I crazy?