For the record, so did Spain. Franco took in Jews and refused to let the Nazis station troops in Spaineven though the Germans had sent bombers to help the Spanish beat the Commies and their Soviet backers in the Spanish Civil War.
On the other hand, the Spanish did send a division to fight alongside the Germans on the Russian Front, and their intelligence service was very tight with the Abwehr, as illustrated in the “Man Who Never Was” operation. German ships had rights to Spanish harbors that Allied ships did not. And while Spain did shelter Jews who found their way there, it’s also true that the Spanish submitted a list of 6000 Spanish Jews to Himmler in 1941. As the war went on and the writing on the wall became clear, Franco did more to distance himself from Hitler.