The meaning of the Ayah reading 'They may hide (their crimes) from men...'

Q 4: Allah (Exalted be He) states: They may hide (their crimes) from men, but they cannot hide (them) from Allâh; for He is with them (by His Knowledge), when they plot by night in words that He does not approve. Is hiding from people while committing sins regarded Shirk (associating others with Allah in His Divinity or worship) in all cases? What is meant by the following Hadith: Whoever has had any of these ugly things (sins) befall him should cover them up with the veil of Allah. ? How can the Ayah (Qur'anic verse) and Hadith be reconciled?

A: This Ayah addresses the hypocrites who fear people and do not fear Allah (Glorified and Exalted be He). They pretend to be believers to deceive others. As for the believer, he is obliged to conceal his sin, if any, to perform Tawbah (repentance to Allah) and not to return to it.May Allah grant us success. May peace and blessings of Allah be upon our Prophet Muhammad, his family and Companions!