Righteous goal-setting has at least two key elements:
The goals are inspired by the Holy Ghost, which “will show unto you all things what ye should do” (2 Nephi 32:5).
The goals acknowledge our dependence on God to accomplish any truly good thing (see John 15:5).
If we set our goals with these ideas in mind, we’ll be confident in the Lord’s support of us and our ability to succeed with His help. This leads to greater faith and gratitude as we see the Lord’s hand in our lives.
Gospel Living app, May 4, 2020

I've gotten away from, but recently returned to, the practice of setting goals to achieve certain results. Righteous goals, or goals with which the Spirit, or power of heaven, will help you to achieve, aren't only spiritual in nature. They can also be temporal, or professional, or any worthwhile endeavor that allows for improvement.
From losing weight, to overcoming an illness or disease, to spending more quality time with family, or studying the scriptures more intently. These goals can really be anything to help us increase in wisdom and stature, and in favor with God and man.
The principle of faith is absolutely crucial for the achievement of these, or any goals. Both as a principle of action...doing everything we can; and as a principle of power....trusting that our Father will do what we can't ourselves.
President Spencer W. Kimball said that -
You are entitled to draw on the powers of heaven in realizing any righteous desire, be it emotionally, socially, professionally, or academically oriented.
When we learn to draw on the powers of heaven, there literally is not anything that we can't achieve, that is righteous.
May the forth be with you!