go to the expense of something/of doing something - Alemán Inglés Diccionario