"But the ship struck a sandbar and ran aground. The bow stuck fast and would not move, and the stern was broken to pieces by the pounding of the surf." NIV translation
Their wisdom and actions came to nothing as the ship was grounded and broken to pieces. We do not know why God did not allow them to just sail on into the harbor but we know that He is in control. This type of thing happens to Christians as well many times. We can get to following our own wisdom instead of listening and following the Holy Spirit which will often leave us hung up on a sandbar and feeling alone. But, we can take comfort in the fact that God is in control and waiting for us to just trust and listen to His ways and not our own.
"The soldiers planned to kill the prisoners to prevent any of them from swimming away and escaping. But the centurion wanted to spare Paul's life and kept them from carrying out their plan. He ordered those who could swim to jump overboard first and get to land. The rest were to get there on planks or on pieces of the ship. In this way everyone reached land in safety." NIV translation
Now, we see an unscheduled stop on Paul's mission trip but we also see God's favor on him.
The soldiers wanted to kill all of them so they would not escape but God caused the centurion to show mercy to Paul and through that all of the others were saved as well.
If we are in Christ, then, God's favor is on us as well. Like those who were with Paul, those around us can witness that favor in action and that provides us with an opportunity to tell them about God.