NOO! That just traps dirt on top, the weeds grow in it and then send their roots through and that’s it you can’t pull them up and through the membrane. The secret is to put a DEEP layer of gravel down then weeds can’t get a hold and can just be raked off or pulled out without effort.
Put down a membrane first.