If you obey and do right, a light will show you the way and fill you with happiness. (Psalms 97:11 CEV)
God is light. Wisdom and understanding comes from Him. He illuminates the paths of those obedient to Him even in their darkest and hopeless hours. He gives the wisdom and understanding to persevere and to take the right steps. God blesses the righteous. Gladness and happiness follow the paths of the righteous. Obey God, stay righteous and be happy. True happiness is gained not from material things and never through wickedness. It springs from obedience to God through a righteous lifestyle. As the saying goes, at the end of the rainbow you will find a pot of gold. You see the rainbow after the storm. The colors of the rainbow represent the different godly attributes of God. Each one is beautiful in itself. Put together, they are even more beautiful. God is of infinite beauty in His holiness. Imitate God in His godly attributes and you will find happiness and gladness in doing so. That is where you will find the pot of gold.