That guy sounds like a low-end clerk type, who's knowledge of bikes comes from a forum! ... wait...
Anyhow, a low end bike will last just fine, with regular maintenance, just like a high-end bike. The bikes you find that will most likely need new components quickly are big-box store-bought bikes. I know this because I read it in a forum!