All in self-righteousness

How perfectly contrived is Satan’s trap that is set using our own self as bait. Nothing lures us away from God, and our faith in Jesus, like the smell of our own morality or self-righteousness. Do we view ourselves in a mirror, and smile at what we see? Do we look at our good deeds, and think that we have certainly pleased God with them, or moreover... that we are saving ourselves by them? Do we say to ourselves “ How perfect is my faith, and how righteous am I!”? This is a death trap that springs shut on our soul.