mal que bien
Used to express that despite difficulties or flaws, something is still the case; similar to saying all things considered or for better or worse.
Mal que bien they have been together for more than 20 years.
Automatically translated from Spanish