Answer:
friction force must be equal to the magnitude of weight of the object
Step-by-step explanation:
When the object is stuck against the wall
then we will have

also we know that

so if the block is at rest and not sliding then in vertical direction the force must be balanced
so here we can say

so friction force must be equal to the magnitude of weight of the object