How to get on the wrong side of God: Assume everything’s OK

Obadiah 1-9 CS Lewis wrote: “There is one vice of which no man in the world is free; which everyone in the world loathes when he sees it in someone else, and of which hardly any people ever imagine that they are guilty themselves. The vice I am talking of is Pride.” How do we identify and deal with it before it’s too late?