If you put away from you the word of the Lord, he will put you away from your place before him

To go against the orders of the Lord leads to rejection

For to go against his orders is like the sin of those who make use of secret arts, and pride is like giving worship to images. Because you have put away from you the word of the Lord, he has put you from your place as king.
1 Samuel 15:23