For a senior software engineer it is way easier to find a job paying double the german average salary (around 3500€/month) than rent an apartment in an ok/good location that is not hugely overpriced. Ppl in low earning jobs are commonly spending 70 - 80% of their net salary to the rent.