The force diagram of the given situation is shown below:
As you can notice, force due to the friction of the box with the flat surface is opposite to the applied force.
5.1m questions
6.7m answers