Pillar 3a money is not secure
Wrong. There is no need to worry about the security of your pillar 3a money. Should a bank become insolvent, a total of 100,000 francs of pension fund savings (including vested benefit accounts) per customer are privileged in the event of bankruptcy, in addition to and independently of other bank deposits, which are already privileged and protected by deposit protection legislation up to a maximum of 100,000 francs. Thus, a maximum of up to 200,000 francs is privileged per customer and per financial institution.
If you put money into investment funds, you will be less affected if the bank becomes insolvent because securities count as special assets and are not part of bankruptcy assets.