Di dalam wiracarita ''[[Ramayana]]'' dikatakan bahwa mengayakanmenumpuk [[Punya (Hindu)|''punya'']] dan berbuat kebajikan adalah prasyarat beroleh Swarga.<ref>{{Cite book |last=Guruge |first=Ananda W. P. |url=https://books.google.com/books?id=uQ4qAAAAYAAJ&q=svarga+ramayana |title=The Society of the Ramayana |date=1960 |publisher=Saman Press |pages=269 |language=en}}</ref><!--
TheWiracarita epicini describesbertutur thetentang legend of KingRaja [[TrishankuTrisangku]],whoyang haddijanjikan beentempat promiseddi aSwarga place in Svarga by theoleh Begawan [[Wiswamitra]]. Untuk mewujudnyatakannya, sang begawan The sage engaged in a solitary [[yajna]] to achieve this, not joined by other sages due to instructions from Sage [[Vasishtha|Vasishta]]. Due to the power of the sage's ceremony, the king ascended to the gates of Svarga. The devas reported this to Indra, who angrily kicked Trishanku from the abode because of his low birth, sending him hurtling towards the earth. Vishvamitra was able to halt his fall mid-way during his descent, and so the king was left suspended in the air. Indra opted to create a new Svarga below his own Svarga as a compromise, just for the residence of Trishanku. In retort, Vishvamitra created a new Indra and devas to occupy the new heaven with the king. Terrified of the powers of the sage, Indra relented, and personally carried Trishanku to the real Svarga on his own golden ''[[vimana]]''.<ref>{{Cite web |last=www.wisdomlib.org |date=2019-01-28 |title=Story of Triśaṅku |url=https://www.wisdomlib.org/hinduism/compilation/puranic-encyclopaedia/d/doc242012.html |access-date=2022-10-25 |website=www.wisdomlib.org |language=en}}</ref>