He got there 'with (only) minutes/seconds to spare'. [=he got there only minutes/seconds before he needed to; he got there just in time]
When they go on vacation, they 'spare no expense'. [=they do not worry about spending too much money; they spend a lot of money]
He said that he would 'spare no expense' [=he would spend as much money as necessary] to make the restaurant successful.
(..) Just tell them, Egil! (GROANING) If I do it, it is for you. Not for me. I am dead anyway. Perhaps they will spare you. (GASPING) I was paid by King Harald Finehair. MAN: Stay alert! Hold the line! Line! (..)2017 TvShow: Vikings Title: On the Eve Season: 4 Episode 19
(..) (PANTING) Look at her! We have told her that if you tell us who paid for your fleet and attack then we will spare your life. That you and your wife can live together again, happily. I don't know this woman. - (SIZZLING) (..)2017 TvShow: Vikings Title: On the Eve Season: 4 Episode 19