Psalm 37:23–24 addresses the person whose path has been disrupted: "The steps of a good man are ordered by the LORD: and he delighteth in his way. Though he fall, he shall not be utterly cast down: for the LORD upholdeth him with his hand." The Hebrew kun — 'ordered' — means established, prepared, made firm. The steps of a person whose life is oriented toward God are under God's direction — including the steps through rejection, unemployment, and closed doors. The fall is not the end of the ordering.
Proverbs 3:5–6 does not promise that the door you want will open. It promises that God will make your path straight — the Hebrew yashar meaning clear, direct, unobstructed. The straight path may go through rejection. The straightening is not the opening of every door you apply for. It is the eventual leading to the door that is yours to walk through.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.