In FFIV, you start out as a dark knight who slaughters an entire village to get a crystal for your King. In FFVII, you start out as a mercenary who's being paid to blow up stuff to sock it to Shinra, though at the cost of innocent lives. However, in both games, you do find yourself on the good team at the end.