When someone is making a bad decision, you can use this phrase to change their mind. It means that their way of thinking is incorrect. For example:
It might seem like a waste of time at first, but as you continue to practice you'll see better and better results.
It might seem like you can make more money by quitting school and getting a job directly, but in the long run you'll end up earning a lot more money if you earn a degree.