The God Engines by John Scalzi

In a universe where gods are enslaved to power starships, a captain named Ean Tephe is tasked with a mission that challenges his faith and loyalty. As he navigates the complexities of divine servitude and the political machinations of his superiors, Ean must confront the moral implications of using gods as tools and the potential consequences of their liberation. The story explores themes of belief, power, and the nature of divinity, culminating in a gripping narrative that questions the boundaries between worship and control.