All these blessings will come upon you and overtake you if you obey the Lord your God: — Deuteronomy 28:2 The Lord will establish you as a holy people to Himself, as He swore to you, if you keep the commandments of the Lord your God and walk in His ways. — Deuteronomy 28:9. and do not turn aside from any of the words which I command you today, to the right or to the left, to go after other gods to serve them. — Deuteronomy 28:14
Obedience comes with discipline. Make it a discipline to be VERY firm in obeying the Word of God. Keep His commandments, not turning aside from His words. Then, and only then you will walk in His ways, not turning to your left or right but focused on the straight and narrow. That will keep our feet from evil.
Focusing on Jesus and the things of God, He will establish us as a holy people unto Himself. That is the blessing.
Continually seeking Him,
Be very firm, then, to keep and do all that is written in the book of the law of Moses, so that you may not turn aside from it to the right hand or to the left, — Joshua 23:6
Do not turn to the right nor to the left; Turn your foot from evil. — Proverbs 4:27