People usually feel embarrassed when they do something wrong in front of a crowd. The embarrassment increases as the size of the crowd increase. For example, a person will feel more embarrassed if his/her faults are revealed in front of a thousand people than in front of only 10 people. Imagine how you would feel if your faults were broadcasted through the media to all the people in your country.
We are very particular in protecting our honour and dignity in this world, however, while disobeying Allah, are we mindful of the Day of Judgement when we will be standing in front of Allah in the presence of the whole humanity? Besides the ordinary people, all the prophets will be present along with all the sahabah, martyrs and pious individuals. How embarrassing it will be if they see us standing in front of Allah as sinners! Besides the whole humanity, how bad it is if we are to stand in front of Allah alone as a disobedient servant? Therefore, to avoid those major humiliations, we should avoid committing sins in this world.