as salam alaikum
islamically, there is nothing wrong in accepting a gift. If you feel a "burden" from what is given to you, you can persuade your friend to give those money in charity elsewhere or you can yourself give them as charity.
However if you are in need of money for basic living to the point that it is a matter of survival for you and/or people depending on you, you should accept the gift and thank Allah for His mercy.
With prayers for your success.