Jealousy is a feeling that you get when you see someone else doing something that you want to do. It can be either good or bad, depending on how you think about it.
It's important to remember that jealousy is just a feeling--it doesn't mean anything about what you should do or not do.
Jealousy is a motivator because it can help you decide whether or not something is worth pursuing, and if so, how much effort and time it will take for you to achieve the goal.