I strongly hold my opinion that fiction mustn't be something we should learn from. Many authors try to hide behind characters to make the world learn something from it but they're not free from biases. The focus and attention that characters get in novels and their supposed superhuman abilities (any smallest unrealistic increment from reality) throw a learner off truth. No matter how many biases we remove, we can't get rid of them completely.
No religious books should be seen as something absolute. They have highly inconsistent stories which can influence a person to support any view. Normally, people have an opinion and blinded by hindsight bias, they search verses in religious texts which supports their opinion the most. Surprisingly, in the same text you'll find another exactly opposite opinion to yours supported by the verses. That is not the right way.
Sanatana Dharma (Hinduism, dharma is almost completely different from religion) is based on enforcement by king and is highly intertwined with bhasha (a spoken dialect) which has been Sankrut for Brahmans. Sanatana Dharma is loosely translated as rules that always exist. The right way to study dharma is to learn the right context in which an action is to be applied. As taught by the Brahmans, Sanatana Dharma aims to improve human experience for an average human being and it's teachings are delivered to the king so that they choose the best actions depending on context for everyone. All scholars of Sanatana Dharma have clear naming of books based on their content, have extreme respect and loyalty for all their gurus, and world/god, their ultimate guru. They do not see fighting/killing as immoral but to be done for Dharma (improvement of average experience) if need be. Hindus, unlike current science community, have not distributed knowledge with which dangerous weapons can be made to immoral people. They have guarded such knowledge well and distributed it to right people, only once they've demonstrated morality in their life. This is why many scientific facts are encoded in Hindu texts in a cryptic way rather than straight up written. A true Hindu will not teach hv = hv_o + W , to everyone so they can generate X-rays to cause cancer.
Religious person or Dharmik person as understood today (a person who goes to temple, church, mosque, gurudwara, derasar, etc.) is absolutely orthogonal or perpendicular to a moral (being good) or immoral person today. There is no correlation at all. In fact because religious persons are perceived to be moral, one has to adjust a neutral religious person negatively for such deceptive public relation.