The path was the same path, but Pharaoh drowned and Musa (عَلَيْهِ ٱلسَّلَامُ) passed safely. So put your trust in Allah and not in the path.
“And whoever puts their trust in Allah, then He alone is sufficient for them.” [65:3]
Umar Ibn Khattab رضي الله عنه once said,
“You call yourselves believers yet do nothing about the believers who are starving among you?”
[مسند الشاميين ١٠١٨]