Numbers 16

The story of Korah and his friends is one of many examples in the first 5 books of Moses that deals with rebellion. I really like the following quote that relates to this:

Weakness versus Rebellion

Elder Richard G. ScottThe joyful news for anyone who desires to be rid of the consequences of past poor choices is that the Lord sees weaknesses differently than He does rebellion.  Whereas the Lord warns that unrepented rebellion will bring punishment, when the Lord speaks of weaknesses, it is always with mercy. (See also: Proverbs 28:13; 1 Corinthians 2:3; 15:43; 2 Corinthians 13:4; James 3:17; 2 Nephi 3:13; Jacob 4:7; Alma 34:17; 3 Nephi 22:8; Ether 12:26–28; Doctrine and Covenants 24:11; 35:17; 38:14; 62:1.) (Richard G. Scott, Personal Strength through the Atonement of Jesus Christ, October 2013 General Conference)