Since you said "Europe" I can tell you that's not the case in e.g. Finland. Restrooms in Helsinki are free to use for everybody and water is free in all or 99% of restaurants and you can refill it as many times as you want. There are no beggars in public transport from what I've seen here in almost 10 years. High taxes are being put into good use [1] when it comes to homelessness.
I know that in many countries (including the one I'm from) this is the situation, but not in whole Europe.
[1] https://www.theguardian.com/cities/2019/jun/03/its-a-miracle...