Our emotions have a constant impact on our lives and decisions. With work, it is possible to master them.
You are indeed the architect of your own unhappiness, and therefore by association of ideas, of your own happiness. The solution lies in your hands.