Price hasn't been a particularly compelling difference between iOS and Android for a while. Here in the states, you can get a new iPhone 13 for $200 USD, which is 170 euros at today's exchange rate.
That's a prepaid cell phone company (no contracts); not sure how many months (if any) you have to pay for to unlock the phone. Renewed and unlocked ones are about $270 on amazon.
Why would you buy a 5-year-old iPhone for the same price you can get a new Android with comparable specs though? If I'm gonna spend 2-3 hundred on a phone, I'd like it to last at least a couple more years. Regardless of OS, you're more likely to get that on a new phone vs any phone 5+ years old.
If Apple's still selling it, they'll almost certainly support it at least as long as an above-average Android manufacturer.
The current iOS supports things back to iPhone 11 and the SE2, so you can expect the SE3 and iPhone 13 to get at least two more years of support (no real guarantees, but they're still selling new stock of both, and they have a reputation to protect).
https://www.metrobyt-mobile.com/cell-phone/apple-iphone-13?i...
That's a prepaid cell phone company (no contracts); not sure how many months (if any) you have to pay for to unlock the phone. Renewed and unlocked ones are about $270 on amazon.