Don't tell your last salary

I got interview and passed Alhamdo lilah Then the hr asked me what Is your last salary and i told her and told her my expectations

I found she just add small amount on my last salary and the difference between me and people in same position may be 3000 or 4000 so i refused the offer

The lesson is not to tell your last salary just tell about expectation and ask them about their budget.