hauptsache

the main thing is, what's important is

ˈh a ʊ̯ p t ˌz a x ə
haupt head + sache thing, matter
adverb Rare #46,772
the main thing is, what's important is
GE: Hauptsache, du bist gesund.
EN: The main thing is that you're healthy.

Hauptsache, das Arschloch Nacimento kommt weg.

The main thing is that the asshole Nacimento gets rid of.

— Elite Squad: Im Sumpf der Korruption (2010)

Hauptsache es gibt dort ein Bett!

The main thing is that there is a bed there!

Hauptsache, die Brücke bleibt stehen.

The main thing is that the bridge remains standing.

— Zwei glorreiche Halunken (1966)

Hauptsache, es geht weiter!

The main thing is that it continues!

— Falling Down - Ein ganz normaler Tag (1993)