友達 ともだち甲斐 がいであれば
tomodachigaideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 友達甲斐

1. If/when it's worth having a friend; If/when a friend is worthwhile

Ba Conditional