Let's assume that a ball with some mass is moving horizontally with some constant velocity.
A constant force is acting on the ball in a direction opposite to that of the motion of the ball.
Now, the ball will decelerate and eventually come to rest.
In this scenario, did the ball do any work?