Did Napoleon betray the ideals of the french revolution?

Yes, he did. Because he betrayed equality by creating the civil code that only gave rights to man and not woman. he also betray fraternity by creating his position hederitary.