That is a bit simplistic. The council of Nicea simply recognized the books that were considered canonical. There was disagreement over what was in and what was out. The Catholic Bible has more books than the Protestant Bible. Martin Luther thought James did did not deserve to be in the Canon. Depite this, other books, like these, have been read and studied.
I don't think the desire was to 'hide truth', but a ecclesiastical dispute over what was deemed 'inspired by God' and what was simply useful and interesting.