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.
1.6m questions
2.0m answers