A person's conduct when he is alone in his home is not like his conduct when he is before a great king

אין ישיבת אדם והוא לבדו בביתו כישיבתו והוא לפני מלך גדול
Shiurim in this topic
8543. The Deeper Meaning of Lech Lecha and Personal Spiritual Growth הפירוש העמוק של לך לך וצמיחה רוחנית אישית