The tension in a pendulum is known to be perpendicular to the motion of the bob. Therefore, the tension does not do any work on the bob of the pendulum.
Work done , (where, is force, is an angle and is displacement),
Hence the work done also depends on the angle inspite of Force and displacement .
Since the tension in a pendulum is known to be perpendicular which means , to the motion of the bob.
Therefore, which means the workdone . So work done by tension is zero.
Hence, the tension does not do any work on the bob of the pendulum.