You have an eternity to live when you give yourself to God for His use. If you just stuff your brain with the things that are of God so that is what your mind works on and thinks with you could use the life you have here to insure your eternal life. Even if you live to be a 100, it is a short time to use to develop who your eternal self will be.
If how you think now isn't working, use the way the God who created you thinks, you have absolutely nothing to lose by giving it a shot. God creates us, God should know how you can create joy. We have the plan for us written down, like an instruction manual. The manual you have worked out for yourself isn't working, so why not try God's.
The Lord's Prayer is a perfect way to start. God isn't much for empty words, though. That means you really have to know how great and holy He is, able to create you, oceans, the grand canyon, etc. To know there is a heaven run with absolute joy, and He wants that here on earth. We can ask for the things we need to live here, and also for the scripture in our hearts we need. Then take everything you have of sin and say you repent, will do your best, and let Him forgive everything.
That makes a new person of you, this new person will have the strength to manage the heart aches and trials in the best way, and start on the way to the joy and peace God wants for us all.