a girl holding oil lamp in wheat field

Are Those Who Work Hard for the Lord Wise Virgins?

If the viewpoint that those who work hard, and expand for the Lord and dedicate themselves to Him are the wise virgins is valid, why were the Pharisees cursed by the Lord though they worked hard for Him? Then, what after all are the wise virgins?