Saying that friction always opposes an object’s motion gives the wrong direction in cases such as a driven tyre or a box on a moving belt. Friction opposes relative sliding, or the tendency to slide, between the two surfaces at the contact. Also, a stationary object does not automatically experience maximum static friction.
Correction: Identify both surfaces at the contact and decide which way they would slide relative to each other if friction were absent. Draw friction opposite that relative motion or impending motion, then check whether static equilibrium is possible below μ_sN.
Quick check: Have you identified the contact pair, relative-slip direction, and actual normal reaction before selecting the friction force?