One way to know if a piece of furniture is built well is to pick it up. If it's heavy, it's generally built pretty well. But, you know, ask the people you're dealing with.
Ask the store. Read the reviews. Look up the manufacturer.
Do a little bit of homework, and you'll know if it's made well and it's going to last a long time.
One key way is looking to see if it's solid wood Made in America. Solid wood furniture Made in America will last a lifetime.