Weight gain

Ashlynn
This is my first pregnancy nd I'm 23 weeks nd 3 days, the midwife told me that I gained too much nd that she expected for me to only gain 20 lbs my entire pregnancy nd so far I have gained 30. I mean it's really hard to maintain a healthy weight when before I was pregnant I was a very light eater. I don't know how to feel about it, any advice? Is gaining alot during a first pregnancy bad?