Failure is part of the journey.
We need to take strength and learn from failures.
Study, bring awareness of the energetic principles of what you are trying to improve or achieve, learn the principles of programming energy according to its criteria, and apply the vehicle of energy (vibrations, energy awareness) and persevere.
Earth energy develops stability, discipline.
Fire energy develops willpower.
Read the section on JOS runes, to see what vibration would reason with your goals.
There are some Threads on the forum about affirmations. Look for these.
There is no better teacher than experience.
Make yourself able to experience energy.