The enlightenment of this sentence is:
If you have a hammer, the problem is a nail. As long as you hit it, you can settle it. If you don't have a hammer, the problem is an iron pillar and you can't shake it at all!
This means that in the face of difficulties, you should use your best weapon, whether it is your wisdom or your persistence.