Poverty is relative, not absolute. Even if you gave everyone in the country $50,000 in UBI, you'd still have poverty, because you'd have people at the bottom of the income range who can't afford what others can.
The only way to possibly eradicate it is if you made everyone equal - same take home pay, no inheritance, no monetary gifts, etc. Everyone has the same net income at the end of the day.