As in most matters, you must look at the whole picture.
The amount of currency units being earned alone does not tell the whole story.
As a general rule one should assume, that where the earnings (salaries) are higher - so is also the cost of living higher.
You must work out the monthly relation between
- costs (Local Purchasing Power) and earnings in percentage
- City A: 90% costs of 100% earnings
- City B: 85% costs of 100% earnings
City B may be more interesting if your goal is to set aside a monthly sum for a future return to your home country.
Quality of Life is also an aspect that may be important based on what you wish to achive.
So a general answer is not possible, since the situation for someone who wishes to stay for about 5 years and return with savings is different to that of someone who wishes to remain permanently and start a family.
Cost of Living Comparison of Munich, Germany And Bern, Switzerland shows:
You would need around 5,750.88€ (6,188.56Fr.) in Bern to maintain the same standard of life that you can have with 4,300.00€ in Munich (assuming you rent in both cities). This calculation uses our Cost of Living Plus Rent Index to compare cost of living. This assumes net earnings (after income tax).
Consumer Prices in Bern are 54% higher than in Munich
Consumer Prices Including Rent in Bern are 34% higher than in Munich
Rent Prices in Bern are 3% lower than in Munich
Restaurant Prices in Bern are 50% higher than in Munich
Groceries Prices in Bern are 80% higher than in Munich
Local Purchasing Power in Bern is 41% higher than in Munich