How does one avoid this developing in the heart?
Because it is God who does make our heart soft trust in the Lord and lean not on ones own understanding. I offer 2 verses
Be careful for nothing; but in every thing by prayer and supplication with thanksgiving let your requests be made known unto God.And the peace of God,
which passeth all understanding, shall keep your hearts and minds through Christ Jesus.
Phi 4:6
Passes all understanding as a imputed righteousness
Having made our anxieties made known It is the Spirit of Christ in us that gives us peace it surpasses all understanding
It the work of His Spirit as Emanuel works with our new spirit ,new heart we have received as it works in us to both will (the direction) and do (by acknowledging it was not of our own selves)
It is the free will of a Christian to do the will of another as Christ set the example.
That spiritual food the daily bread of His will is the kind of food of God that the disciples knew not of.. When they disagreed or would not believe Jesus as in unbelief. They would lok for a new source of faith and play “Who is the greatest”. We therefore as imputed righteousness work out (not for to gain) His will having make our burden lighter. His yoke make makes it easier
Wherefore, my beloved, as ye have always obeyed, not as in my presence only, but now much more in my absence, work out your own salvation with fear and trembling.
For it is God which worketh in you both to will and to do of his good pleasure.
Do all things without murmurings and disputings:. Phi 2:12