Although some people will always reach for a bag of cement when ... provide sufficient support, but whether or not they stand the test of time will depend on what the fence is for.
It will also help strengthen the support of the fence post. This method isn't as sturdy as using cement to hold the fence post, but it should get the job done at a fraction of the cost ...