Renting is not money down the drain, and buying is not automatically an investment. Compare both over the years you actually plan to stay.
Renting leaves you €51 better off
Buying does not pull ahead within this period.
If you buy
-€3,642
€190,662 of equity, less €10,079 to sellIf you rent
-€3,591
€123,810 paid in rent, plus €14,341 earned on spare cashNet position, year by year
What you own minus what you have paid out. Where the lines cross is the year buying starts to win.