In today's society, where secular influence is prevalent, many individuals are navigating the balance between religious observance and worldly engagements. This leads to the question: How does traditional Jewish thought guide those who are immersed in secular environments but seek a deeper connection to their Orthodox roots?
I'm specifically interested in foundational Jewish texts that discuss strategies to cultivate piety and righteousness in the face of secularism. While I'm familiar with the Sefer Hasidim's perspective on piety, are there other primary Jewish texts that shed light on this?
For instance, if we were to consider a hypothetical scenario where a man, isolated on a planet with no Jewish community, only had access to foundational Jewish texts, which ones would best guide him towards righteous living?