Layered transition metal dichalcogenides (TMDs) such as tungsten disulfide (WS2) are promising materials for a wide range of applications, including charge storage in batteries and supercapacitors. Nevertheless, TMD-based electrodes suffer from bottlenecks such as capacity fading at high current densities, voltage hysteresis during the conversion reaction, and polysulfide dissolution. To tame such adverse phenomena, we fabricate composites with WS2 nanotubes. Herein, we report on the superior electrochemical performance of ceramic composite fibers comprising WS2 nanotubes (WS2NTs) embedded in a chemically robust molecular polymer-derived ceramic matrix of silicon-oxycarbide (SiOC). Such a heterogeneous structure was obtained via electrospinning of WS2NT/preceramic polymer solution followed by pyrolysis at high temperatures. The electrode capacity fading in WS2NTs was curbed by the synergistic effect between WS2NT and SiOC. As a result, the composite electrode exhibits high initial capacity of 454 mAh g-1 and capacity retention 2-3 times higher than that of the neat WS2NT electrode.