@abim305 It really depends. You must use Google Spreadsheet and create a proper Rent vs. Buy calculator that applies to Germany.
Things to take into account:
Buying costs (one-time)
Costs of owning a house (taxes & maintenance)
House prices increase & rent increase through the years
Interest...