Was i being used he left again😞💔

So I've been going back n forth with a guy for 3yrs everything is always good between us until this one baby mother comes with her bullshit ( threaten him or about harming me or even herself) and he goes running back but it never seem to work they always fighting and being very disrespectful to each other and i let him come back every time..When we are together its great we talk laugh joke sex is great his friends love me he helps with bills etc but he claims he has to always go back for the children they have together(side note she is lacking in the mother department) she has no job no income no apartment etc he has his own apartment job and money..he swear its for his kids but its like why we have to end things if its only to support your children??My question to yall is was i being used??