Joshua 1:8tsalech
"This book of the law shall not depart from your mouth, but you shall meditate on it day and night, so that you may be careful to do according to all that is written in it; for then you will make your way prosperous, and then you will have success.
Keeping God's law is tied to a prosperous way and success.
Deuteronomy 31:20dashen
"For when I bring them into the land flowing with milk and honey, which I swore to their fathers, and they have eaten and are satisfied and become prosperous, then they will turn to other gods and serve them, and spurn Me and break My covenant.
Warns that prosperity can lead Israel to turn to other gods.