This question already has an answer here:
A man exerts force on a wall of bricks. The man must have consumed the energy he possessed (mechanical energy?) to exert the force. The man sweats and tires himself out but the wall does not move.
The force is given as $F = ma$ but no acceleration was produced in the wall. So, the force is zero even though force was exerted. The definition of force says that it moves, tends to move, stops or tends to stop the motion of a body. How can the force be zero?
The work done is zero since displacement is zero. The Work-Energy principle says that work done on a body appears as a change in its kinetic or potential energy. Since work done is zero, no change in the energy of the wall occurs. Where did all of the energy the man spent go?