Here is the sentence:
The blank needs to begin with an infinitive. You chose spend ..., which matches be and get, keeping the structure parallel.
When you have a series of infinitives, as you do in this sentence, the to at the beginning of the series covers all of the infinitives that follow.
Nice work, grammar brain!