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.
4.4m questions
5.7m answers