The way I join them is this understanding: Spirituality/religion is not how to get what you want out of life, it's how to want what you get out of life. STEM skills are all hard work, practice, and training. Like YoYo. To me that knowledge is practically useless unless fun or profitable. So religion keeps my relationships stable and helps me maintain a continuity of community, purpose, and meaning. STEM pays the bills and is an entertaining hobby
Read into the intelligent design theory of religion. That’s what really solidified my faith! Basically, the universe and life is SO COMPLEX that it MUST have been created by God. The more you dive into biology, organic chemistry, ecology, etc, you’ll begin to see like DAMN! No way all this lined up by chance. HE must have designed it to be so!