It is important to remember that people have always had choices. That is the reason why we hold those accountable who committed misdeeds, because they chose to do so. They were not born to play the part of villains.
It is not as if God had determined that Fadak must be usurped and that someone must be created who will do so.
It is also not the case that God had determined that a wife of the Prophet (s) must fight Imam 'Ali (a) and so she was put out there in the world of creation to fulfil that role.
Think of it this way. It was entirely possible for the first caliph and his daughter not to commit the misdeeds that they did. So why ought they have been punished before they could even be tested with that choice?
Did not Abu Bakr have another child, and Ayesha a brother, who was the most devoted Shi'a of Imam 'Ali (a) and fought against his own sister in defence of Imam 'Ali?
He was not predestined to be the good person in a pre-planned drama, like some kind of an angelic robot. He also made choices in his life. And so we remember him with affection and praise.
I believe that the nature of knowledge given by God to the Prophet (s) and the Imams (a) must be understood with the above in mind.