If i practice equanimity, compassion, loving kindness, forgiveness,
there would always be people who would take advantage of that right?
Yes there will be people who will like to take advantage of your position to prove their point. But it is generally our own karma which puts us in the bad position. If you are really good then no one can, I repeat no one can steal even a single penny from you.
For instance if someone comes to steal from me, i should give him my
belongings right?
Yes and remember Buddha, Dhamma and Sangha.Give up your belongings and be grateful that he did not hurt you. If he hurts you be grateful that he did not kill you.
Like thats the Buddhist way right? Fighting and resisting is forbidden
right?
I dont exactly know about the Buddhist way but from I have read, the right way to find in which ways you are blessed and find a way to bless the tormentor.
And he informs 10 other thieves about this kind man. How to be wise in
this situation where you know people take advantage of your
compassion, niceness?
As I said it is generally your own karma which confronts you with bad situations. Do not run away from it. Do not fill your heart with hate. Just realize that what is needed is more compassion and not less.
I quote a famous verse from Dhammapada:
Hatred is, indeed, never appeased by hatred in this world. It is
appeased only by loving-kindness. This is an ancient law.