No, the sound of an electric guitar is not better or worse than that of an acoustic guitar. Both electric and acoustic guitars produce a different sound and you will hear the differences depending on which one you're playing.