Remember that your actions behind closed doors determine how solid you are in public, in spirituality and in acceptance.
An example of this is al Nawawi (rh) and some of his books. He didn’t write all of 40 Nawawi, he added 16 Hadith and there are many arbaeeniyyat, yet his works have recieved mind blowing acceptance.
Even though he had a few mistakes in aqeedah, these are totally overlooked as he was an Imam and also due to his acceptance. The scholars use this as an example of his phenomenal sincerity.
And the asl of good deeds is to be done in secret but this doesn’t mean you miss out on doing good deeds in public.
This raises the question then, how comes we know about the Salaf and their private actions? The answer is that when someone is sincere, Allah reveals the person’s good no matter how much he tries to hide it.