when I was playing I would give them what and then they threating me saying that they would leave
That's automated.
If you have many villagers but little coins, you can let them leave.
But if you have little villagers and many coins, pay them.
that's what I did eventually but I really got me angry sometimes mostly because it would happen when I would do something for the community that costs like a bunch of coins and they repay me by leaving