“The meaning is that deep or inconsolable grief or misery will attend the commission of some proscribed act, the omission of some required duty, or that such penalty will grow out of an ungodly course of conduct” (McConkie, Mormon Doctrine, 843).
The context of this verse is obviously a denunciation of the wicked. The three woes indicate the serious nature of the coming punishment of being “thrust down to hell.”