We must believe that through Christ alone we have the victory. You willpower is not enough. Your Bible knowledge is not enough. Your only hope for winning this battle is giving it over to Christ. Another secret of contentment is found in willingly accepting the providence of God in your life.
Some people believe that things happen by chance or luck.
But there is no such thing as luck because God controls all things that happen, from the smallest to the greatest. There is no good thing or difficult thing that comes into your life that God did not plan and allow to happen. If you know the Lord Jesus as your Savior, then you know that all that happens in your life is for your good, because God is ordering these things. If you have a lot, then thank God, because He allowed you to have it. If you have a little, then don't be angry with God or envious of your neighbor because God chose to give more to them than to you.