What does the quote Never waste jealousy on a real man it is the imaginary man that supplants us all in the long run by George Bernard Shaw mean?

Don't spend your time wanting someone because usually the people who look really fantisized are just the opposite. So look for someone more down to earth or you may just be "chasing dreams". In other words just don't fantisize people.