mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Clean up temp scripts
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Find missing verse commentary in Psalms."""
|
||||
|
||||
import json
|
||||
from collections import defaultdict
|
||||
|
||||
# Load the commentary file
|
||||
with open('kjvstudy_org/data/verse_commentary/psalms.json', 'r') as f:
|
||||
data = json.load(f)
|
||||
|
||||
# Get what verses we have commentary for
|
||||
existing = set()
|
||||
for chapter_str, verses_dict in data['commentary'].items():
|
||||
chapter = int(chapter_str)
|
||||
for verse_str in verses_dict.keys():
|
||||
verse = int(verse_str)
|
||||
existing.add((chapter, verse))
|
||||
|
||||
print(f"Existing commentary: {len(existing)} verses")
|
||||
|
||||
# Expected verse counts for each Psalm (from KJV)
|
||||
psalm_verse_counts = {
|
||||
1: 6, 2: 12, 3: 8, 4: 8, 5: 12, 6: 10, 7: 17, 8: 9, 9: 20, 10: 18,
|
||||
11: 7, 12: 8, 13: 6, 14: 7, 15: 5, 16: 11, 17: 15, 18: 50, 19: 14, 20: 9,
|
||||
21: 13, 22: 31, 23: 6, 24: 10, 25: 22, 26: 12, 27: 14, 28: 9, 29: 11, 30: 12,
|
||||
31: 24, 32: 11, 33: 22, 34: 22, 35: 28, 36: 12, 37: 40, 38: 22, 39: 13, 40: 17,
|
||||
41: 13, 42: 11, 43: 5, 44: 26, 45: 17, 46: 11, 47: 9, 48: 14, 49: 20, 50: 23,
|
||||
51: 19, 52: 9, 53: 6, 54: 7, 55: 23, 56: 13, 57: 11, 58: 11, 59: 17, 60: 12,
|
||||
61: 8, 62: 12, 63: 11, 64: 10, 65: 13, 66: 20, 67: 7, 68: 35, 69: 36, 70: 5,
|
||||
71: 24, 72: 20, 73: 28, 74: 23, 75: 10, 76: 12, 77: 20, 78: 72, 79: 13, 80: 19,
|
||||
81: 16, 82: 8, 83: 18, 84: 12, 85: 13, 86: 17, 87: 7, 88: 18, 89: 52, 90: 17,
|
||||
91: 16, 92: 15, 93: 5, 94: 23, 95: 11, 96: 13, 97: 12, 98: 9, 99: 9, 100: 5,
|
||||
101: 8, 102: 28, 103: 22, 104: 35, 105: 45, 106: 48, 107: 43, 108: 13, 109: 31, 110: 7,
|
||||
111: 10, 112: 10, 113: 9, 114: 8, 115: 18, 116: 19, 117: 2, 118: 29, 119: 176, 120: 7,
|
||||
121: 8, 122: 9, 123: 4, 124: 8, 125: 5, 126: 6, 127: 5, 128: 6, 129: 8, 130: 8,
|
||||
131: 3, 132: 18, 133: 3, 134: 3, 135: 21, 136: 26, 137: 9, 138: 8, 139: 24, 140: 13,
|
||||
141: 10, 142: 7, 143: 12, 144: 15, 145: 21, 146: 10, 147: 20, 148: 14, 149: 9, 150: 6
|
||||
}
|
||||
|
||||
# Find all missing verses
|
||||
missing = []
|
||||
missing_by_chapter = defaultdict(list)
|
||||
|
||||
for chapter, verse_count in psalm_verse_counts.items():
|
||||
for verse in range(1, verse_count + 1):
|
||||
if (chapter, verse) not in existing:
|
||||
missing.append((chapter, verse))
|
||||
missing_by_chapter[chapter].append(verse)
|
||||
|
||||
print(f"Missing commentary: {len(missing)} verses\n")
|
||||
|
||||
if missing:
|
||||
print("Missing verses by chapter:")
|
||||
for chapter in sorted(missing_by_chapter.keys()):
|
||||
verses = missing_by_chapter[chapter]
|
||||
if len(verses) > 10:
|
||||
print(f" Psalm {chapter}: {len(verses)} verses missing - {verses[:5]}...{verses[-3:]}")
|
||||
else:
|
||||
print(f" Psalm {chapter}: {verses}")
|
||||
|
||||
print(f"\nTotal expected: {sum(psalm_verse_counts.values())} verses")
|
||||
print(f"Total existing: {len(existing)} verses")
|
||||
print(f"Total missing: {len(missing)} verses")
|
||||
@@ -1,106 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Generate all 78 missing Psalms commentaries and merge into psalms.json."""
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
# All new commentary entries
|
||||
all_new_commentary = {
|
||||
# Psalm 37:31-40
|
||||
"37": {
|
||||
"31": {
|
||||
"analysis": "<strong>The law of his God is in his heart</strong> (תּוֹרַת אֱלֹהָיו בְּלִבּוֹ, <em>torat elohav b'libo</em>)—This describes not external religion but internalized Torah, written on the tablets of the heart (cf. Jeremiah 31:33). The Hebrew <em>torah</em> means instruction, guidance, the whole revealed will of God. When God's word dwells richly within, it becomes the gyroscope of the soul.<br><br><strong>None of his steps shall slide</strong> (לֹא תִמְעַד אֲשֻׁרָיו, <em>lo tim'ad ashurav</em>)—The verb <em>ma'ad</em> means to waver, slip, totter. Contrast with Psalm 73:2, where the psalmist's feet had almost slipped because he envied the wicked. The righteous person's stability comes not from circumstances but from the internal compass of God's law directing every step. This is practical sanctification: biblical meditation producing moral stability.",
|
||||
"historical": "Psalm 37 is a wisdom psalm attributed to David in his old age (verse 25), written as an acrostic poem. The genre addresses the perennial problem of theodicy—why the wicked prosper. Jewish tradition connected this psalm to the Torah's call to write God's commandments on the heart (Deuteronomy 6:6).",
|
||||
"questions": [
|
||||
"How do you internalize Scripture so it guides your daily decisions, not just informs your theology?",
|
||||
"What practices help you move God's word from your head to your heart?",
|
||||
"Where in your life do you feel your steps are slipping, and what truth from God's word could stabilize you?"
|
||||
]
|
||||
},
|
||||
"32": {
|
||||
"analysis": "<strong>The wicked watcheth the righteous</strong> (צוֹפֶה רָשָׁע לַצַּדִּיק, <em>tsofeh rasha latsadiq</em>)—The verb <em>tsafah</em> means to watch, spy, lie in wait like a hunter. This is the paranoid vigilance of evil seeking to destroy good. Throughout history, the righteous have been targets: Abel murdered by Cain, Joseph betrayed by brothers, Jesus plotted against by religious leaders.<br><br><strong>Seeketh to slay him</strong> (וּמְבַקֵּשׁ לַהֲמִיתוֹ, <em>um'vakeish lahamito</em>)—Not mere opposition but murderous intent. The Hebrew <em>bikeish</em> conveys persistent, determined seeking. Yet this verse anticipates verse 33's promise: the LORD will not abandon the righteous to the wicked's power. The Christian martyr tradition bears witness to this reality—the gates of hell could not prevail though they sought to slay the righteous.",
|
||||
"historical": "In David's era, this described Saul's relentless pursuit to kill him (1 Samuel 19-26). More broadly, it reflects the ancient Near Eastern reality where the righteous poor were often victimized by corrupt officials and powerful oppressors, a theme echoed throughout the wisdom literature and prophets.",
|
||||
"questions": [
|
||||
"When you face opposition for doing what is right, how does knowing God sees this persecution affect your response?",
|
||||
"How can the church support those who are genuinely persecuted for righteousness' sake in our day?",
|
||||
"What does Jesus's teaching about loving enemies add to this psalm's perspective on the wicked who seek to harm you?"
|
||||
]
|
||||
},
|
||||
"33": {
|
||||
"analysis": "<strong>The LORD will not leave him in his hand</strong> (יְהוָה לֹא־יַעַזְבֶנּוּ בְיָדוֹ, <em>YHWH lo-ya'azvenu v'yado</em>)—The divine name Yahweh appears emphatically: the covenant-keeping God personally guarantees protection. The verb <em>azav</em> (abandon, forsake) is negated absolutely. Though the wicked's hand may temporarily seize the righteous, God will not ultimately forsake them to that power. Joseph in Potiphar's prison, Daniel in the lion's den—the pattern holds.<br><br><strong>Nor condemn him when he is judged</strong> (וְלֹא יַרְשִׁיעֶנּוּ בְּהִשָּׁפְטוֹ, <em>v'lo yarshi'enu b'hishafto</em>)—When the righteous stand trial, God ensures they are not convicted unjustly. The Hebrew <em>rasha</em> (condemn, declare guilty) contrasts with <em>tsadiq</em> (righteous). God is the ultimate Judge who reverses unjust verdicts. This found fulfillment in Christ's resurrection—the only truly righteous One whom human courts condemned, but whom God vindicated.",
|
||||
"historical": "Ancient Israelite courts sat at the city gate, where elders adjudicated disputes. Corruption was common (Amos 5:12), and the poor and righteous often had no defender. This psalm promises divine intervention in earthly justice systems, a hope that sustained Jewish and Christian martyrs through centuries of unjust trials.",
|
||||
"questions": [
|
||||
"How does the promise that God will not abandon you affect your willingness to stand for truth in hostile environments?",
|
||||
"What does Christ's resurrection teach about God's ultimate vindication of the righteous?",
|
||||
"When have you experienced God's protection or vindication after facing false accusations or persecution?"
|
||||
]
|
||||
},
|
||||
"34": {
|
||||
"analysis": "<strong>Wait on the LORD</strong> (קַוֵּה אֶל־יְהוָה, <em>kaveh el-YHWH</em>)—The verb <em>kavah</em> means to wait with expectant hope, like a taut rope under tension. This is active, not passive waiting—continuing to trust while circumstances delay. The psalm commands dual posture: waiting (patient endurance) and keeping his way (active obedience). Biblical waiting is never mere resignation but confident expectation coupled with continued faithfulness.<br><br><strong>He shall exalt thee to inherit the land</strong> (וִירוֹמִמְךָ לָרֶשֶׁת אָרֶץ, <em>viromim'kha lareshet arets</em>)—God will lift you up to possess the inheritance. This echoes verse 9, 11, 22, 29—the righteous will inherit the land. For Israel, this meant Canaan; for Christians, it typifies the new creation (Matthew 5:5, Romans 4:13). Exaltation comes through patient endurance, not grasping. <strong>When the wicked are cut off, thou shalt see it</strong>—vindication witnessed, not merely reported. Delayed justice is not denied justice.",
|
||||
"historical": "In David's experience, this describes his years fleeing Saul—waiting on God's timing to receive the promised kingship. The land inheritance theology was central to Israel's covenant: obedience leads to secure possession, disobedience to exile (Deuteronomy 28). The Babylonian exile and return validated this pattern on a national scale.",
|
||||
"questions": [
|
||||
"In what area of your life is God calling you to wait while continuing to keep his way?",
|
||||
"How does inheritance theology shape your understanding of delayed blessings or justice?",
|
||||
"What would change in your spiritual life if you truly believed God's timing is perfect?"
|
||||
]
|
||||
},
|
||||
"35": {
|
||||
"analysis": "<strong>I have seen the wicked in great power</strong> (רָאִיתִי רָשָׁע עָרִיץ, <em>ra'iti rasha arits</em>)—Personal testimony from lived experience. The adjective <em>arits</em> means ruthless, tyrannical, terrorizing—raw political and social power wielded without moral restraint. The psalmist bears witness to what appeared to be unassailable success.<br><br><strong>Spreading himself like a green bay tree</strong> (וּמִתְעָרֶה כְּאֶזְרָח רַעֲנָן, <em>umit'areh k'ezrach ra'anan</em>)—The image is of luxuriant growth, a tree planted in its native soil, deeply rooted and flourishing. The Hebrew <em>ezrach</em> means a native-born tree (not transplanted), suggesting the wicked seemed permanent, indigenous to the earth, immovable. Yet this apparent stability is illusory—verse 36 shatters the image. Temporary prosperity deceives the eye; eternal perspective reveals truth.",
|
||||
"historical": "David likely witnessed powerful kings and warlords who seemed invincible. In Israel's history, figures like Pharaoh, Goliath, Haman, and later Herod embodied this principle—great power projecting permanence, yet quickly passing away. The wisdom tradition consistently warned against envying such apparent success (Proverbs 23:17, 24:19).",
|
||||
"questions": [
|
||||
"Who are contemporary examples of the wicked in great power, and how should Christians view their apparent success?",
|
||||
"How does envy of the wicked's prosperity reveal what you truly value or fear?",
|
||||
"What eternal perspective would keep you from being impressed by godless power and wealth?"
|
||||
]
|
||||
},
|
||||
"36": {
|
||||
"analysis": "<strong>Yet he passed away, and, lo, he was not</strong> (וַיַּעֲבֹר וְהִנֵּה אֵינֶנּוּ, <em>vaya'avor v'hinneh einennu</em>)—The transition is abrupt and absolute. <em>Avar</em> means to pass over, pass away, vanish. The dramatic <em>hinneh</em> (behold!) highlights the startling discovery: sudden absence where there was imposing presence. Like Nebuchadnezzar reduced to beast, Herod eaten by worms, Stalin dead in his own vomit—tyrants' exits often match their hubris.<br><br><strong>I sought him, but he could not be found</strong> (וָאֲבַקְשֵׁהוּ וְלֹא נִמְצָא, <em>va'avaksheihu v'lo nimtsa</em>)—The psalmist searched but found no trace. Not even a memorial remained. Contrast with the righteous whose memory is blessed (Proverbs 10:7). The green bay tree of verse 35 left no roots, no legacy, no lasting mark. <em>Sic transit gloria mundi</em>—thus passes worldly glory. Only what's built on God's foundation endures (1 Corinthians 3:11-15).",
|
||||
"historical": "Ancient Near Eastern kings built massive monuments to ensure their names lived forever—ziggurats, pyramids, statues. Yet most dynasties crumbled within generations, monuments buried in sand, names forgotten. Archaeological ruins testify to the transience the psalm describes. By contrast, Scripture preserves the names of obscure faithful saints.",
|
||||
"questions": [
|
||||
"What would make your life count for eternity rather than merely for impressive temporal success?",
|
||||
"How does meditating on death and transience clarify what truly matters?",
|
||||
"What legacy are you building—one that will pass away or one with eternal significance?"
|
||||
]
|
||||
},
|
||||
"37": {
|
||||
"analysis": "<strong>Mark the perfect man, and behold the upright</strong> (שְׁמָר־תָם וּרְאֵה יָשָׁר, <em>sh'mor-tam ur'eh yashar</em>)—Imperative commands: <em>shamar</em> (watch, observe carefully) and <em>ra'ah</em> (see, behold). The <em>tam</em> is the blameless, complete, person of integrity (same word describes Job 1:1). The <em>yashar</em> is the upright, the morally straight. Study their lives; they are living parables of God's faithfulness.<br><br><strong>For the end of that man is peace</strong> (כִּי־אַחֲרִית לְאִישׁ שָׁלוֹם, <em>ki-acharit l'ish shalom</em>)—The key word is <em>acharit</em>, meaning end, latter end, posterity, future. It's not merely the moment of death but the ultimate outcome, the lasting legacy. <em>Shalom</em> encompasses wholeness, welfare, prosperity, harmony with God and man. The righteous person's trajectory ends in comprehensive wellbeing. Contrast verse 38's <em>acharit</em> (end) of the wicked: being cut off. Two paths, two destinations—the psalm's central message.",
|
||||
"historical": "This wisdom tradition appears throughout Scripture: the two ways of Psalm 1, the two roads of Matthew 7:13-14, the two destinies of Revelation 20-22. Ancient Jewish teaching emphasized observing the lives of the righteous (hence biographies of patriarchs and prophets) to learn the way of life.",
|
||||
"questions": [
|
||||
"Whose life demonstrates integrity and uprightness that you can study and emulate?",
|
||||
"How does evaluating your choices based on their ultimate end (not immediate pleasure) change your decision-making?",
|
||||
"What would shalom—comprehensive peace and wholeness—look like in your life at the end of your days?"
|
||||
]
|
||||
},
|
||||
"38": {
|
||||
"analysis": "<strong>But the transgressors shall be destroyed together</strong> (וּפֹשְׁעִים נִשְׁמְדוּ יַחְדָּו, <em>ufosh'im nishmadu yachdav</em>)—The Hebrew <em>posh'im</em> denotes rebels, those who willfully transgress covenant boundaries. The verb <em>shamad</em> means to be exterminated, destroyed, annihilated. <em>Yachdav</em> (together) suggests collective judgment—not isolated incidents but systemic removal. This isn't vindictive but necessary: sin's trajectory leads to death (Romans 6:23).<br><br><strong>The end of the wicked shall be cut off</strong> (אַחֲרִית רְשָׁעִים נִכְרָתָה, <em>acharit r'sha'im nikhratah</em>)—Again <em>acharit</em> (latter end, posterity), but here it is <em>cut off</em> (<em>karat</em>, the covenant curse term). The wicked have no future, no legacy, no continuation. Their line ends. This is the opposite of Abraham's seed becoming as the stars—covenant blessing produces endless fruitfulness; covenant breaking produces sterile termination. The righteous inherit the land (v.29); the wicked inherit extinction.",
|
||||
"historical": "The cutting off language draws from covenant curses in Leviticus 26 and Deuteronomy 28—those who break covenant will be uprooted from the land. Israel's prophets applied this to both individual sinners and eventually the nation itself in exile. The principle continues: corporate apostasy leads to judgment on institutions, nations, churches.",
|
||||
"questions": [
|
||||
"How does the certainty of ultimate judgment on wickedness affect how you view current injustice?",
|
||||
"What does it mean that transgressors are destroyed 'together'—how does corporate sin lead to corporate consequences?",
|
||||
"In what ways might you be tempted to join the transgressors for short-term gain, forgetting their end is destruction?"
|
||||
]
|
||||
},
|
||||
"39": {
|
||||
"analysis": "<strong>But the salvation of the righteous is of the LORD</strong> (וּתְשׁוּעַת צַדִּיקִים מֵיְהוָה, <em>ut'shu'at tsadiqim meYHWH</em>)—The emphatic contrast: <em>but</em> marks the great divide. <em>T'shu'ah</em> (salvation, deliverance, victory) comes exclusively <em>from Yahweh</em>. Not self-achievement, not human merit, not political maneuvering—deliverance is divine gift. This is the gospel in seed form: salvation belongs to the LORD (Jonah 2:9, Revelation 7:10).<br><br><strong>He is their strength in the time of trouble</strong> (מָעוּזָּם בְּעֵת צָרָה, <em>ma'uzam b'et tsarah</em>)—<em>Ma'oz</em> means stronghold, fortress, refuge. In <em>et tsarah</em> (time of distress, trouble, adversity), God himself becomes the fortification. Not escape from trouble but strength in it. Paul's thorn, Joseph's prison, Daniel's den, the martyrs' stakes—God's strength perfected in weakness (2 Corinthians 12:9).",
|
||||
"historical": "David wrote from experience: caves of Adullam and En-gedi were physical strongholds, but God was his true fortress. The deliverance theology here shaped Israel's worship (Exodus 15:2, Psalm 27:1, 118:14). Jesus applied this to himself: 'I am the way... no one comes to the Father except through me' (John 14:6)—salvation is of the Lord incarnate.",
|
||||
"questions": [
|
||||
"How do you tend to seek salvation—through self-effort, human help, or truly from the LORD alone?",
|
||||
"When have you experienced God as your strength in a time of trouble rather than escape from trouble?",
|
||||
"What would change if you truly believed that your deliverance depends entirely on God and not on you?"
|
||||
]
|
||||
},
|
||||
"40": {
|
||||
"analysis": "<strong>And the LORD shall help them, and deliver them</strong> (וְיַעְזְרֵם יְהוָה וִיפַלְּטֵם, <em>v'ya'zrem YHWH vifaltem</em>)—The double verb emphasizes certainty: <em>azar</em> (help, aid) and <em>palat</em> (deliver, rescue, bring to safety). Yahweh is subject of both—active divine intervention. Not merely permission but participation. The prophets' promise echoes here: 'Fear not, for I am with you... I will help you' (Isaiah 41:10).<br><br><strong>He shall deliver them from the wicked, and save them</strong> (יַצִּילֵם מֵרְשָׁעִים וְיוֹשִׁיעֵם, <em>yatsilem mere'sha'im v'yoshi'em</em>)—Again doubled: <em>natsal</em> (snatch away, rescue) and <em>yasha</em> (save, the root of 'Jesus'—Yeshua, 'Yahweh saves'). The psalm ends where it began (v.1): 'Fret not because of evildoers.' Why? <strong>Because they trust in him</strong> (כִּי־חָסוּ בוֹ, <em>ki-chasu vo</em>)—<em>chasah</em>, to take refuge in, flee to for protection. Faith is the hinge: those who shelter in God experience his salvation. Apart from trust, even God's people perish (Hebrews 3:19).",
|
||||
"historical": "This concluding verse summarizes Psalm 37's theodicy answer: Wait patiently, trust continuously, and you will see God's deliverance and the wicked's downfall. David's own life illustrated this—delivered from Saul, from Absalom, from enemies on every side. The psalm's acrostic structure (Hebrew alphabet) suggests completeness: from A to Z, in all circumstances, this principle holds.",
|
||||
"questions": [
|
||||
"What practical difference does it make that God actively helps and delivers rather than passively permitting your struggles?",
|
||||
"In what area of your life do you need to exercise trust (<em>chasah</em>—taking refuge in God) rather than anxious striving?",
|
||||
"How can you cultivate the patient trust this psalm calls for in a culture that demands immediate solutions?"
|
||||
]
|
||||
}
|
||||
},
|
||||
# Continuing with remaining verses...
|
||||
}
|
||||
|
||||
print("Script ready - would generate all 78 commentaries and merge them.")
|
||||
print("Due to size, implementing in phases...")
|
||||
@@ -1,65 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Find missing verses in commentary files."""
|
||||
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add project root to path
|
||||
project_root = Path(__file__).parent.parent
|
||||
sys.path.insert(0, str(project_root))
|
||||
|
||||
from kjvstudy_org.kjv import Bible
|
||||
|
||||
def find_missing_verses(book_name: str, commentary_file: Path):
|
||||
"""Find missing verses in a commentary file."""
|
||||
# Load commentary
|
||||
with open(commentary_file) as f:
|
||||
data = json.load(f)
|
||||
|
||||
commentary = data.get("commentary", {})
|
||||
|
||||
# Get expected structure from Bible
|
||||
bible = Bible()
|
||||
|
||||
# Build expected verses from Bible data
|
||||
expected_verses = {}
|
||||
for verse_ref in bible.iter_verse_references():
|
||||
if verse_ref.book == book_name:
|
||||
chapter_str = str(verse_ref.chapter)
|
||||
if chapter_str not in expected_verses:
|
||||
expected_verses[chapter_str] = []
|
||||
expected_verses[chapter_str].append(verse_ref.verse)
|
||||
|
||||
# Find missing verses
|
||||
missing = []
|
||||
for chapter_str, verses in sorted(expected_verses.items(), key=lambda x: int(x[0])):
|
||||
chapter_data = commentary.get(chapter_str, {})
|
||||
for verse_num in sorted(verses):
|
||||
verse_str = str(verse_num)
|
||||
if verse_str not in chapter_data:
|
||||
missing.append((int(chapter_str), verse_num))
|
||||
|
||||
return missing
|
||||
|
||||
def main():
|
||||
books = [
|
||||
("Amos", "amos.json"),
|
||||
("John", "john.json")
|
||||
]
|
||||
|
||||
commentary_dir = Path(__file__).parent.parent / "kjvstudy_org" / "data" / "verse_commentary"
|
||||
|
||||
for book_name, filename in books:
|
||||
filepath = commentary_dir / filename
|
||||
if not filepath.exists():
|
||||
print(f"File not found: {filepath}")
|
||||
continue
|
||||
|
||||
missing = find_missing_verses(book_name, filepath)
|
||||
print(f"\n{book_name}: {len(missing)} missing verses")
|
||||
for chapter, verse in missing:
|
||||
print(f" {book_name} {chapter}:{verse}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,56 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Generate commentary for missing verses."""
|
||||
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add project root to path
|
||||
project_root = Path(__file__).parent.parent
|
||||
sys.path.insert(0, str(project_root))
|
||||
|
||||
from kjvstudy_org.kjv import Bible
|
||||
|
||||
def get_verse_text(bible, book, chapter, verse):
|
||||
"""Get verse text from Bible."""
|
||||
verse_key = f"{book} {chapter}:{verse}"
|
||||
try:
|
||||
return bible.get_verse_text(book, chapter, verse)
|
||||
except:
|
||||
return None
|
||||
|
||||
def main():
|
||||
bible = Bible()
|
||||
|
||||
# Missing verses for Amos
|
||||
amos_verses = [
|
||||
(1, 14), (1, 15), (2, 15), (2, 16), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12),
|
||||
(3, 13), (3, 14), (3, 15), (4, 13), (5, 25), (5, 26), (5, 27), (6, 2), (6, 3),
|
||||
(6, 4), (6, 5), (6, 6), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12),
|
||||
(6, 13), (6, 14), (7, 15), (7, 16), (7, 17), (8, 12), (8, 13), (8, 14),
|
||||
(9, 14), (9, 15)
|
||||
]
|
||||
|
||||
# Missing verses for John
|
||||
john_verses = [
|
||||
(8, 59), (10, 31), (10, 32), (10, 33), (10, 34), (10, 35), (10, 36), (10, 37),
|
||||
(10, 38), (10, 39), (10, 40), (10, 41), (10, 42), (13, 38), (14, 28), (14, 29),
|
||||
(14, 30), (14, 31), (15, 27), (17, 22), (17, 23), (17, 24), (17, 25), (17, 26),
|
||||
(19, 31), (19, 32), (19, 33), (19, 34), (19, 35), (19, 36), (19, 37), (19, 38),
|
||||
(19, 39), (19, 40), (19, 41), (19, 42)
|
||||
]
|
||||
|
||||
print("=== AMOS VERSES ===\n")
|
||||
for chapter, verse in amos_verses:
|
||||
text = get_verse_text(bible, "Amos", chapter, verse)
|
||||
print(f"Amos {chapter}:{verse}")
|
||||
print(f"{text}\n")
|
||||
|
||||
print("\n=== JOHN VERSES ===\n")
|
||||
for chapter, verse in john_verses:
|
||||
text = get_verse_text(bible, "John", chapter, verse)
|
||||
print(f"John {chapter}:{verse}")
|
||||
print(f"{text}\n")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,107 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Generate commentary for missing Psalms verses."""
|
||||
|
||||
import json
|
||||
|
||||
# Load existing commentary
|
||||
with open('kjvstudy_org/data/verse_commentary/psalms.json', 'r') as f:
|
||||
data = json.load(f)
|
||||
|
||||
# New commentary to add
|
||||
new_commentary = {
|
||||
"37": {
|
||||
"31": {
|
||||
"analysis": "<strong>The law of his God is in his heart</strong> (תּוֹרַת אֱלֹהָיו בְּלִבּוֹ, <em>torat elohav b'libo</em>)—This describes not external religion but internalized Torah, written on the tablets of the heart (cf. Jeremiah 31:33). The Hebrew <em>torah</em> means instruction, guidance, the whole revealed will of God. When God's word dwells richly within, it becomes the gyroscope of the soul.<br><br><strong>None of his steps shall slide</strong> (לֹא תִמְעַד אֲשֻׁרָיו, <em>lo tim'ad ashurav</em>)—The verb <em>ma'ad</em> means to waver, slip, totter. Contrast this with Psalm 73:2, where the psalmist's feet had almost slipped because he envied the wicked. The righteous person's stability comes not from circumstances but from the internal compass of God's law directing every step. This is practical sanctification: biblical meditation producing moral stability.",
|
||||
"historical": "Psalm 37 is a wisdom psalm attributed to David in his old age (verse 25), written as an acrostic poem. The genre addresses the perennial problem of theodicy—why the wicked prosper. Jewish tradition connected this psalm to the Torah's call to write God's commandments on the heart (Deuteronomy 6:6).",
|
||||
"questions": [
|
||||
"How do you internalize Scripture so it guides your daily decisions, not just informs your theology?",
|
||||
"What practices help you move God's word from your head to your heart?",
|
||||
"Where in your life do you feel your steps are slipping, and what truth from God's word could stabilize you?"
|
||||
]
|
||||
},
|
||||
"32": {
|
||||
"analysis": "<strong>The wicked watcheth the righteous</strong> (צוֹפֶה רָשָׁע לַצַּדִּיק, <em>tsofeh rasha latsadiq</em>)—The verb <em>tsafah</em> means to watch, spy, lie in wait like a hunter. This is the paranoid vigilance of evil seeking to destroy good. Throughout history, the righteous have been targets: Abel murdered by Cain, Joseph betrayed by brothers, Jesus plotted against by religious leaders.<br><br><strong>Seeketh to slay him</strong> (וּמְבַקֵּשׁ לַהֲמִיתוֹ, <em>um'vakeish lahamito</em>)—Not mere opposition but murderous intent. The Hebrew <em>bikeish</em> conveys persistent, determined seeking. Yet this verse anticipates verse 33's promise: the LORD will not abandon the righteous to the wicked's power. The Christian martyr tradition bears witness to this reality—the gates of hell could not prevail though they sought to slay the righteous.",
|
||||
"historical": "In David's era, this described Saul's relentless pursuit to kill him (1 Samuel 19-26). More broadly, it reflects the ancient Near Eastern reality where the righteous poor were often victimized by corrupt officials and powerful oppressors, a theme echoed throughout the wisdom literature and prophets.",
|
||||
"questions": [
|
||||
"When you face opposition for doing what is right, how does knowing God sees this persecution affect your response?",
|
||||
"How can the church support those who are genuinely persecuted for righteousness' sake in our day?",
|
||||
"What does Jesus's teaching about loving enemies add to this psalm's perspective on the wicked who seek to harm you?"
|
||||
]
|
||||
},
|
||||
"33": {
|
||||
"analysis": "<strong>The LORD will not leave him in his hand</strong> (יְהוָה לֹא־יַעַזְבֶנּוּ בְיָדוֹ, <em>YHWH lo-ya'azvenu v'yado</em>)—The divine name Yahweh appears emphatically at the beginning: the covenant-keeping God personally guarantees protection. The verb <em>azav</em> (abandon, forsake) is negated absolutely. Though the wicked's hand may temporarily seize the righteous, God will not ultimately forsake them to that power. Joseph in Potiphar's prison, Daniel in the lion's den—the pattern holds.<br><br><strong>Nor condemn him when he is judged</strong> (וְלֹא יַרְשִׁיעֶנּוּ בְּהִשָּׁפְטוֹ, <em>v'lo yarshi'enu b'hishafto</em>)—When the righteous stand trial, God ensures they are not convicted unjustly. The Hebrew <em>rasha</em> (to condemn, declare guilty) contrasts with <em>tsadiq</em> (righteous). God is the ultimate Judge who reverses unjust verdicts. This found fulfillment in Christ's resurrection—the only truly righteous One whom human courts condemned, but whom God vindicated.",
|
||||
"historical": "Ancient Israelite courts sat at the city gate, where elders adjudicated disputes. Corruption was common (Amos 5:12), and the poor and righteous often had no defender. This psalm promises divine intervention in earthly justice systems, a hope that sustained Jewish and Christian martyrs through centuries of unjust trials.",
|
||||
"questions": [
|
||||
"How does the promise that God will not abandon you affect your willingness to stand for truth in hostile environments?",
|
||||
"What does Christ's resurrection teach about God's ultimate vindication of the righteous?",
|
||||
"When have you experienced God's protection or vindication after facing false accusations or persecution?"
|
||||
]
|
||||
},
|
||||
"34": {
|
||||
"analysis": "<strong>Wait on the LORD</strong> (קַוֵּה אֶל־יְהוָה, <em>kaveh el-YHWH</em>)—The verb <em>kavah</em> means to wait with expectant hope, like a taut rope under tension. This is active, not passive waiting—continuing to trust while circumstances delay. The psalm commands dual posture: waiting (patient endurance) and keeping his way (active obedience). Biblical waiting is never mere resignation but confident expectation coupled with continued faithfulness.<br><br><strong>He shall exalt thee to inherit the land</strong> (וִירוֹמִמְךָ לָרֶשֶׁת אָרֶץ, <em>viromim'kha lareshet arets</em>)—God will lift you up to possess the inheritance. This echoes verse 9, 11, 22, 29—the righteous will inherit the land. For Israel, this meant Canaan; for Christians, it typifies the new creation (Matthew 5:5, Romans 4:13). Exaltation comes through patient endurance, not grasping. <strong>When the wicked are cut off, thou shalt see it</strong>—vindication witnessed, not merely reported. Delayed justice is not denied justice.",
|
||||
"historical": "In David's experience, this describes his years fleeing Saul—waiting on God's timing to receive the promised kingship. The land inheritance theology was central to Israel's covenant: obedience leads to secure possession, disobedience to exile (Deuteronomy 28). The Babylonian exile and return validated this pattern on a national scale.",
|
||||
"questions": [
|
||||
"In what area of your life is God calling you to wait while continuing to keep his way?",
|
||||
"How does inheritance theology shape your understanding of delayed blessings or justice?",
|
||||
"What would change in your spiritual life if you truly believed God's timing is perfect?"
|
||||
]
|
||||
},
|
||||
"35": {
|
||||
"analysis": "<strong>I have seen the wicked in great power</strong> (רָאִיתִי רָשָׁע עָרִיץ, <em>ra'iti rasha arits</em>)—Personal testimony from lived experience. The adjective <em>arits</em> means ruthless, tyrannical, terrorizing—raw political and social power wielded without moral restraint. The psalmist bears witness to what appeared to be unassailable success.<br><br><strong>Spreading himself like a green bay tree</strong> (וּמִתְעָרֶה כְּאֶזְרָח רַעֲנָן, <em>umit'areh k'ezrach ra'anan</em>)—The image is of luxuriant growth, a tree planted in its native soil, deeply rooted and flourishing. The Hebrew <em>ezrach</em> means a native-born tree (not transplanted), suggesting the wicked seemed permanent, indigenous to the earth, immovable. Yet this apparent stability is illusory—verse 36 shatters the image. Temporary prosperity deceives the eye; eternal perspective reveals truth.",
|
||||
"historical": "David likely witnessed powerful kings and warlords who seemed invincible. In Israel's history, figures like Pharaoh, Goliath, Haman, and later Herod embodied this principle—great power projecting permanence, yet quickly passing away. The wisdom tradition consistently warned against envying such apparent success (Proverbs 23:17, 24:19).",
|
||||
"questions": [
|
||||
"Who are contemporary examples of the wicked in great power, and how should Christians view their apparent success?",
|
||||
"How does envy of the wicked's prosperity reveal what you truly value or fear?",
|
||||
"What eternal perspective would keep you from being impressed by godless power and wealth?"
|
||||
]
|
||||
},
|
||||
"36": {
|
||||
"analysis": "<strong>Yet he passed away, and, lo, he was not</strong> (וַיַּעֲבֹר וְהִנֵּה אֵינֶנּוּ, <em>vaya'avor v'hinneh einennu</em>)—The transition is abrupt and absolute. <em>Avar</em> means to pass over, pass away, vanish. The dramatic <em>hinneh</em> (behold!) highlights the startling discovery: sudden absence where there was imposing presence. Like Nebuchadnezzar reduced to beast, Herod eaten by worms, Stalin dead in his own vomit—tyrants' exits often match their hubris.<br><br><strong>I sought him, but he could not be found</strong> (וָאֲבַקְשֵׁהוּ וְלֹא נִמְצָא, <em>va'avaksheihu v'lo nimtsa</em>)—The psalmist searched but found no trace. Not even a memorial remained. Contrast with the righteous whose memory is blessed (Proverbs 10:7). The green bay tree of verse 35 left no roots, no legacy, no lasting mark. <em>Sic transit gloria mundi</em>—thus passes worldly glory. Only what's built on God's foundation endures (1 Corinthians 3:11-15).",
|
||||
"historical": "Ancient Near Eastern kings built massive monuments to ensure their names lived forever—ziggurats, pyramids, statues. Yet most dynasties crumbled within generations, monuments buried in sand, names forgotten. Archaeological ruins testify to the transience the psalm describes. By contrast, Scripture preserves the names of obscure faithful saints.",
|
||||
"questions": [
|
||||
"What would make your life count for eternity rather than merely for impressive temporal success?",
|
||||
"How does meditating on death and transience clarify what truly matters?",
|
||||
"What legacy are you building—one that will pass away or one with eternal significance?"
|
||||
]
|
||||
},
|
||||
"37": {
|
||||
"analysis": "<strong>Mark the perfect man, and behold the upright</strong> (שְׁמָר־תָם וּרְאֵה יָשָׁר, <em>sh'mor-tam ur'eh yashar</em>)—Imperative commands: <em>shamar</em> (watch, observe carefully) and <em>ra'ah</em> (see, behold). The <em>tam</em> is the blameless, complete, person of integrity (same word describes Job 1:1). The <em>yashar</em> is the upright, the morally straight. Study their lives; they are living parables of God's faithfulness.<br><br><strong>For the end of that man is peace</strong> (כִּי־אַחֲרִית לְאִישׁ שָׁלוֹם, <em>ki-acharit l'ish shalom</em>)—The key word is <em>acharit</em>, meaning end, latter end, posterity, future. It's not merely the moment of death but the ultimate outcome, the lasting legacy. <em>Shalom</em> encompasses wholeness, welfare, prosperity, harmony with God and man. The righteous person's trajectory ends in comprehensive wellbeing. Contrast verse 38's <em>acharit</em> (end) of the wicked: being cut off. Two paths, two destinations—the Psalm's central message.",
|
||||
"historical": "This wisdom tradition appears throughout Scripture: the two ways of Psalm 1, the two roads of Matthew 7:13-14, the two destinies of Revelation 20-22. Ancient Jewish teaching emphasized observing the lives of the righteous (hence biographies of patriarchs and prophets) to learn the way of life.",
|
||||
"questions": [
|
||||
"Whose life demonstrates integrity and uprightness that you can study and emulate?",
|
||||
"How does evaluating your choices based on their ultimate end (not immediate pleasure) change your decision-making?",
|
||||
"What would shalom—comprehensive peace and wholeness—look like in your life at the end of your days?"
|
||||
]
|
||||
},
|
||||
"38": {
|
||||
"analysis": "<strong>But the transgressors shall be destroyed together</strong> (וּפֹשְׁעִים נִשְׁמְדוּ יַחְדָּו, <em>ufosh'im nishmadu yachdav</em>)—The Hebrew <em>posh'im</em> denotes rebels, those who willfully transgress covenant boundaries. The verb <em>shamad</em> means to be exterminated, destroyed, annihilated. <em>Yachdav</em> (together) suggests collective judgment—not isolated incidents but systemic removal. This isn't vindictive but necessary: sin's trajectory leads to death (Romans 6:23).<br><br><strong>The end of the wicked shall be cut off</strong> (אַחֲרִית רְשָׁעִים נִכְרָתָה, <em>acharit r'sha'im nikhratah</em>)—Again <em>acharit</em> (latter end, posterity), but here it is <em>cut off</em> (<em>karat</em>, the covenant curse term). The wicked have no future, no legacy, no continuation. Their line ends. This is the opposite of Abraham's seed becoming as the stars—covenant blessing produces endless fruitfulness; covenant breaking produces sterile termination. The righteous inherit the land (v.29); the wicked inherit extinction.",
|
||||
"historical": "The cutting off language draws from covenant curses in Leviticus 26 and Deuteronomy 28—those who break covenant will be uprooted from the land. Israel's prophets applied this to both individual sinners and eventually the nation itself in exile. The principle continues: corporate apostasy leads to judgment on institutions, nations, churches.",
|
||||
"questions": [
|
||||
"How does the certainty of ultimate judgment on wickedness affect how you view current injustice?",
|
||||
"What does it mean that transgressors are destroyed 'together'—how does corporate sin lead to corporate consequences?",
|
||||
"In what ways might you be tempted to join the transgressors for short-term gain, forgetting their end is destruction?"
|
||||
]
|
||||
},
|
||||
"39": {
|
||||
"analysis": "<strong>But the salvation of the righteous is of the LORD</strong> (וּתְשׁוּעַת צַדִּיקִים מֵיְהוָה, <em>ut'shu'at tsadiqim meYHWH</em>)—The emphatic contrast: <em>but</em> marks the great divide. <em>T'shu'ah</em> (salvation, deliverance, victory) comes exclusively <em>from Yahweh</em>. Not self-achievement, not human merit, not political maneuvering—deliverance is divine gift. This is the gospel in seed form: salvation belongs to the LORD (Jonah 2:9, Revelation 7:10).<br><br><strong>He is their strength in the time of trouble</strong> (מָעוּזָּם בְּעֵת צָרָה, <em>ma'uzam b'et tsarah</em>)—<em>Ma'oz</em> means stronghold, fortress, refuge. In <em>et tsarah</em> (time of distress, trouble, adversity), God himself becomes the fortification. Not escape from trouble but strength in it. Paul's thorn, Joseph's prison, Daniel's den, the martyrs' stakes—God's strength perfected in weakness (2 Corinthians 12:9).",
|
||||
"historical": "David wrote from experience: caves of Adullam and En-gedi were physical strongholds, but God was his true fortress. The deliverance theology here shaped Israel's worship (Exodus 15:2, Psalm 27:1, 118:14). Jesus applied this to himself: 'I am the way... no one comes to the Father except through me' (John 14:6)—salvation is of the Lord incarnate.",
|
||||
"questions": [
|
||||
"How do you tend to seek salvation—through self-effort, human help, or truly from the LORD alone?",
|
||||
"When have you experienced God as your strength in a time of trouble rather than escape from trouble?",
|
||||
"What would change if you truly believed that your deliverance depends entirely on God and not on you?"
|
||||
]
|
||||
},
|
||||
"40": {
|
||||
"analysis": "<strong>And the LORD shall help them, and deliver them</strong> (וְיַעְזְרֵם יְהוָה וִיפַלְּטֵם, <em>v'ya'zrem YHWH vifaltem</em>)—The double verb emphasizes certainty: <em>azar</em> (help, aid) and <em>palat</em> (deliver, rescue, bring to safety). Yahweh is subject of both—active divine intervention. Not merely permission but participation. The prophets' promise echoes here: 'Fear not, for I am with you... I will help you' (Isaiah 41:10).<br><br><strong>He shall deliver them from the wicked, and save them</strong> (יַצִּילֵם מֵרְשָׁעִים וְיוֹשִׁיעֵם, <em>yatsilem mere'sha'im v'yoshi'em</em>)—Again doubled: <em>natsal</em> (snatch away, rescue) and <em>yasha</em> (save, the root of 'Jesus'—Yeshua, 'Yahweh saves'). The psalm ends where it began (v.1): 'Fret not because of evildoers.' Why? <strong>Because they trust in him</strong> (כִּי־חָסוּ בוֹ, <em>ki-chasu vo</em>)—<em>chasah</em>, to take refuge in, flee to for protection. Faith is the hinge: those who shelter in God experience his salvation. Apart from trust, even God's people perish (Hebrews 3:19).",
|
||||
"historical": "This concluding verse summarizes Psalm 37's theodicy answer: Wait patiently, trust continuously, and you will see God's deliverance and the wicked's downfall. David's own life illustrated this—delivered from Saul, from Absalom, from enemies on every side. The psalm's acrostic structure (Hebrew alphabet) suggests completeness: from A to Z, in all circumstances, this principle holds.",
|
||||
"questions": [
|
||||
"What practical difference does it make that God actively helps and delivers rather than passively permitting your struggles?",
|
||||
"In what area of your life do you need to exercise trust (<em>chasah</em>—taking refuge in God) rather than anxious striving?",
|
||||
"How can you cultivate the patient trust this psalm calls for in a culture that demands immediate solutions?"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Add more sections as needed - this is just Psalm 37:31-40
|
||||
print(json.dumps(new_commentary, indent=2))
|
||||
@@ -1,142 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Generate and merge all 78 missing Psalms commentaries.
|
||||
This script creates scholarly Reformed commentary with Hebrew transliterations.
|
||||
"""
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
# Define ALL new commentary entries
|
||||
new_commentary_data = {
|
||||
"86": {
|
||||
"12": {
|
||||
"analysis": "<strong>I will praise thee, O Lord my God, with all my heart</strong> (אוֹדְךָ אֲדֹנָי אֱלֹהַי בְּכָל־לְבָבִי, <em>odekha Adonai elohai b'khol-l'vavi</em>)—The verb <em>yadah</em> (praise, give thanks) in the first person: I will personally, continuously give thanks. <em>B'khol-l'vavi</em> (with all my heart) echoes the Shema's command to love God with all your heart (Deuteronomy 6:5). Wholehearted praise is undivided devotion—not perfunctory ritual but total engagement of will, emotion, and affection.<br><br><strong>I will glorify thy name for evermore</strong> (וַאֲכַבְּדָה שִׁמְךָ לְעוֹלָם, <em>va'akhabdah shimkha l'olam</em>)—<em>Kabad</em> means to make heavy, to honor, glorify. God's <em>shem</em> (name) represents his character and reputation. <em>L'olam</em> (forever, perpetually) extends praise beyond this life into eternity. This is the Westminster Shorter Catechism's answer to man's chief end: 'to glorify God and enjoy him forever.'",
|
||||
"historical": "Psalm 86 is labeled 'A Prayer of David,' the only psalm in Book III so attributed. Its language echoes Moses' revelation of God's character in Exodus 34:6-7. Ancient worship emphasized God's name as the locus of his presence—to glorify his name was to magnify his revealed character. Jewish liturgy incorporated this verse in daily prayers.",
|
||||
"questions": [
|
||||
"What does wholehearted praise look like practically in your daily life?",
|
||||
"How can you glorify God's name (his character) in the ordinary moments of today?",
|
||||
"What would change if you truly lived for God's glory rather than personal comfort or reputation?"
|
||||
]
|
||||
},
|
||||
"13": {
|
||||
"analysis": "<strong>For great is thy mercy toward me</strong> (כִּי־גָדוֹל חַסְדְּךָ עָלָי, <em>ki-gadol chasdekha alai</em>)—<em>Gadol</em> (great, vast, immense) modifies <em>chesed</em>, that untranslatable Hebrew gem meaning steadfast love, loyal kindness, covenant faithfulness. God's <em>chesed</em> toward David personally (<em>alai</em>, upon me, toward me) is the ground of all praise. This isn't generic divine benevolence but specific, experienced mercy in David's life.<br><br><strong>And thou hast delivered my soul from the lowest hell</strong> (וְהִצַּלְתָּ נַפְשִׁי מִשְּׁאוֹל תַּחְתִּיָּה, <em>v'hitzalta nafshi mish'ol tachtiyah</em>)—<em>Natsal</em> (deliver, snatch away, rescue) in the perfect tense: accomplished deliverance. <em>Sh'ol tachtiyah</em> (Sheol below, the lowest hell) describes the grave, death's realm, the pit. David testifies to being rescued from the brink of death—whether physical danger or spiritual despair. Christians read this as foreshadowing Christ's resurrection: he descended to the dead and rose victorious (1 Peter 3:19, Ephesians 4:9).",
|
||||
"historical": "Sheol in Hebrew thought was the underworld, the realm of the dead—not necessarily eternal punishment but the state of mortality and separation from the land of the living. Deliverance from Sheol meant being saved from premature death. The 'lowest Sheol' intensifies the danger: not just near death but at death's deepest point.",
|
||||
"questions": [
|
||||
"How has God's mercy (chesed) been specifically great toward you in your life story?",
|
||||
"From what 'lowest hell' (desperate circumstance or sin) has God delivered you?",
|
||||
"How does Christ's descent and resurrection amplify the hope of this verse?"
|
||||
]
|
||||
},
|
||||
"14": {
|
||||
"analysis": "<strong>O God, the proud are risen against me</strong> (אֱלֹהִים זֵדִים קָמוּ־עָלַי, <em>Elohim zedim kamu-alai</em>)—<em>Zedim</em> (proud ones, presumptuous, arrogant) describes those who act with insolent pride. <em>Qamu</em> (they have risen) suggests insurrection, uprising—like Absalom's rebellion against David, or Saul's pursuit. The proud don't merely oppose; they actively rise up in organized hostility.<br><br><strong>And the assemblies of violent men have sought after my soul</strong> (וַעֲדַת עָרִיצִים בִּקְשׁוּ נַפְשִׁי, <em>va'adat aritsim bikshu nafshi</em>)—<em>Adat</em> (assembly, congregation) ironically applies to the wicked what should describe God's people. <em>Aritsim</em> (violent, ruthless, terrorizing men) gathered in organized conspiracy. <em>Bikshu nafshi</em> (have sought my life) indicates murderous intent. <strong>And have not set thee before them</strong> (וְלֹא שָׂמוּךָ לְנֶגְדָּם, <em>v'lo samukha l'negdam</em>)—The root problem: they don't set God before their eyes. Practical atheism: living as if God doesn't exist or doesn't see. Contrast Psalm 16:8: 'I have set the LORD always before me.'",
|
||||
"historical": "David faced numerous conspiracies: Saul's court, Absalom's rebellion, enemies throughout his reign. The language of assembly and seeking his life describes organized opposition, not random violence. In ancient kingdoms, court intrigues and assassination attempts were constant threats. This verse could describe any of David's major crises.",
|
||||
"questions": [
|
||||
"How does pride lead people to oppose God's purposes and God's people?",
|
||||
"What does it mean practically to 'set God before you' in daily decisions?",
|
||||
"When facing opposition, how can you avoid responding with the same godless pride as your opponents?"
|
||||
]
|
||||
},
|
||||
"15": {
|
||||
"analysis": "<strong>But thou, O Lord, art a God full of compassion, and gracious</strong> (וְאַתָּה אֲדֹנָי אֵל־רַחוּם וְחַנּוּן, <em>v'atah Adonai el-rachum v'chanun</em>)—The emphatic contrast: <em>But thou!</em> This quotes Exodus 34:6, where God revealed his character to Moses. <em>Rachum</em> (compassionate, full of womb-love) comes from <em>rechem</em> (womb), suggesting maternal tenderness. <em>Chanun</em> (gracious) means giving undeserved favor. These aren't mere attributes but God's self-revelation of his essential nature.<br><br><strong>Longsuffering, and plenteous in mercy and truth</strong> (אֶרֶךְ אַפַּיִם וְרַב־חֶסֶד וֶאֱמֶת, <em>erekh apayim v'rav-chesed ve'emet</em>)—<em>Erekh apayim</em> (long of nostrils, slow to anger) is a Hebrew idiom: God's anger has a long fuse. <em>Rav-chesed</em> (abundant in steadfast love) and <em>emet</em> (truth, faithfulness) complete the Exodus 34 formula. This is the gospel: God's character is fundamentally gracious. His wrath is real but restrained; his mercy is abundant and eager. Contrast the violent men of verse 14 with God's compassionate nature—which would you rather face?",
|
||||
"historical": "This Exodus 34:6-7 formula became Israel's foundational creed, quoted repeatedly (Numbers 14:18, Nehemiah 9:17, Psalm 103:8, 145:8, Joel 2:13, Jonah 4:2). Moses had asked to see God's glory; God proclaimed his name, revealing that his glory is supremely his gracious, merciful character. David appeals to this revelation when facing enemies.",
|
||||
"questions": [
|
||||
"How does knowing God is 'slow to anger' affect how you approach him in your sin and failure?",
|
||||
"What's the difference between God's longsuffering and modern notions of tolerance or leniency?",
|
||||
"How can you reflect God's character (compassion, grace, patience, mercy, truth) in your relationships?"
|
||||
]
|
||||
},
|
||||
"16": {
|
||||
"analysis": "<strong>O turn unto me, and have mercy upon me</strong> (פְּנֵה־אֵלַי וְחָנֵּנִי, <em>p'neh-elai v'choneni</em>)—<em>Panah</em> means to turn, face toward. David asks God to turn his face toward him—the opposite of hiding his face (Psalm 13:1, 27:9). <em>Chanan</em> (have mercy, be gracious) is the verb form of <em>chen</em> (grace). The plea: Look at me with favor, not judgment; with grace, not wrath. Fallen humans instinctively hide from God's gaze (Genesis 3:8); redeemed believers seek his face (Psalm 27:8).<br><br><strong>Give thy strength unto thy servant</strong> (תְּנָה־עֻזְּךָ לְעַבְדֶּךָ, <em>t'nah-uz'kha l'avdekha</em>)—<em>Oz</em> (strength, might) is what David needs against the violent men (v.14). But notice: not self-generated strength or military power, but <em>thy strength</em>—divine empowerment. <strong>And save the son of thine handmaid</strong> (וְהוֹשִׁיעָה לְבֶן־אֲמָתֶךָ, <em>v'hoshi'ah l'ven-amatekha</em>)—<em>Ben-amatekha</em> (son of your handmaid) was a way to claim God's household protection. In ancient culture, children born in a master's house to his servants had special status and security. David says: I'm born into your household; defend me as your own!",
|
||||
"historical": "The phrase 'son of your handmaid' appears also in Psalm 116:16. It may refer literally to David's mother being devoted to God's service, or figuratively to David being a servant from birth. In ancient Near Eastern culture, being born in the master's household gave one rights and protection that outsiders lacked. David claims covenant family status.",
|
||||
"questions": [
|
||||
"What does it mean to seek God's face rather than merely his hand (his blessings)?",
|
||||
"Where in your life do you need to stop relying on your own strength and ask for God's?",
|
||||
"How does your identity as God's child (born into his household through faith) give you confidence in prayer?"
|
||||
]
|
||||
},
|
||||
"17": {
|
||||
"analysis": "<strong>Shew me a token for good</strong> (עֲשֵׂה־עִמִּי אוֹת לְטוֹבָה, <em>aseh-imi ot l'tovah</em>)—<em>Ot</em> (sign, token, mark) is what David requests—visible evidence of God's favor. Not secret, mystical reassurance but public vindication. Like Gideon's fleece (Judges 6:36-40) or Hezekiah's sundial (2 Kings 20:8-11), a sign confirms God's word and demonstrates his presence. <em>L'tovah</em> (for good, for blessing) specifies the sign's nature: evidence of divine favor.<br><br><strong>That they which hate me may see it, and be ashamed</strong> (וְיִרְאוּ שֹׂנְאַי וְיֵבֹשׁוּ, <em>v'yir'u son'ai v'yevoshu</em>)—The purpose: public vindication. <em>Son'ai</em> (those who hate me) will <em>see</em> (<em>ra'ah</em>) and be <em>ashamed</em> (<em>bosh</em>, disappointed, humiliated). Not personal vengeance but theodicy: when God visibly defends his servant, it proves that the wicked's confidence was misplaced. <strong>Because thou, LORD, hast holpen me, and comforted me</strong> (כִּי־אַתָּה יְהוָה עֲזַרְתַּנִי וְנִחַמְתָּנִי, <em>ki-atah YHWH azartani v'nichamtani</em>)—Past tenses expressing confidence: You have helped (<em>azar</em>) and comforted (<em>nacham</em>) me. Faith speaks of future deliverance as already accomplished (Romans 8:30).",
|
||||
"historical": "God's visible interventions—the plagues in Egypt, Jericho's walls falling, Gideon's victories—served not just to deliver Israel but to demonstrate Yahweh's supremacy to watching nations. The sign David requests would similarly vindicate both David and David's God before his enemies. This anticipates Christ's resurrection as the ultimate vindicating sign (Matthew 12:39-40, Romans 1:4).",
|
||||
"questions": [
|
||||
"Is it appropriate to ask God for visible signs of his favor, or is that lack of faith?",
|
||||
"How does God's public vindication of his people serve his larger purposes in the world?",
|
||||
"What signs or tokens of God's goodness in your past give you confidence for present challenges?"
|
||||
]
|
||||
}
|
||||
},
|
||||
"94": {
|
||||
"21": {
|
||||
"analysis": "<strong>They gather themselves together against the soul of the righteous</strong> (יָגוֹדּוּ עַל־נֶפֶשׁ צַדִּיק, <em>yagodu al-nefesh tsadiq</em>)—<em>Gadad</em> means to gather in troops, to band together in hostile formation. Not random opposition but organized conspiracy. The <em>nefesh</em> (soul, life) of the <em>tsadiq</em> (righteous) is the target. Throughout history, the wicked have formed alliances against God's people: Pharisees and Herodians against Jesus (Mark 3:6), Sanhedrin against the apostles (Acts 4:27), Roman persecutors against Christians.<br><br><strong>And condemn the innocent blood</strong> (וְדָם נָקִי יַרְשִׁיעוּ, <em>v'dam naqi yarshi'u</em>)—<em>Dam naqi</em> (innocent blood) represents the righteous person. <em>Rasha</em> (to condemn, declare guilty) inverts justice: the innocent are convicted, the guilty go free. This is judicial murder—using legal machinery to execute the blameless. Naboth condemned for Ahab's greed (1 Kings 21), Jesus crucified by legal proceeding (Matthew 27:24), Stephen stoned by council vote (Acts 7:58-60). Unjust courts are Satan's mockery of God's justice.",
|
||||
"historical": "Psalm 94 is a lament against oppressive rulers who pervert justice (verses 3-7, 20-21). Likely written during a period when Israel's own leaders or foreign occupiers abused the judicial system. The prophet Micah condemned similar corruption: 'They build Zion with blood and Jerusalem with iniquity' (Micah 3:10). Amos and Isaiah likewise denounced legal oppression of the righteous poor.",
|
||||
"questions": [
|
||||
"How should Christians respond when legal systems are used to persecute the righteous?",
|
||||
"What modern examples exist of organized conspiracy against the innocent, and how should the church respond?",
|
||||
"How does Jesus's unjust trial and condemnation both exemplify this psalm and provide hope for the persecuted?"
|
||||
]
|
||||
},
|
||||
"22": {
|
||||
"analysis": "<strong>But the LORD is my defence</strong> (וַיְהִי יְהוָה לִי לְמִשְׂגָּב, <em>vay'hi YHWH li l'misgav</em>)—The emphatic contrast: <em>But</em>! Against the gathered wicked (v.21), David has Yahweh. <em>Misgav</em> means high fortress, secure stronghold, place of refuge. Like Masada or En-gedi's cliffs, a <em>misgav</em> provides protection beyond human assault. God himself is David's impregnable fortress—no conspiracy can breach divine defense.<br><br><strong>And my God is the rock of my refuge</strong> (וֵאלֹהַי לְצוּר מַחְסִי, <em>vElohay l'tsur machsi</em>)—Double imagery: <em>tsur</em> (rock, cliff) suggests stability and strength; <em>machseh</em> (refuge, shelter) suggests protection and safety. The rock is not merely a defensive position but a place of <em>refuge</em>—where one runs and hides. Moses hid in the rock's cleft to glimpse God's glory (Exodus 33:22); believers hide in the Rock who is Christ (1 Corinthians 10:4). Paul quotes this psalm in Romans 11:9, applying the wicked's judgment to those who reject Christ.",
|
||||
"historical": "David knew literal rock refuges—caves and mountain strongholds where he hid from Saul (1 Samuel 23:25-29, 24:1-3). These physical refuges illustrated spiritual reality: God's protection is more secure than any geographical fortress. The metaphor pervades the Psalms: Psalm 18:2, 31:3, 62:2, 71:3. Ancient Israel's rocky terrain made the imagery vivid and concrete.",
|
||||
"questions": [
|
||||
"What makes God a better refuge than any earthly defense or security system?",
|
||||
"In what threatening situation do you need to flee to God as your rock and fortress today?",
|
||||
"How does Christ fulfill this imagery as our Rock and our hiding place?"
|
||||
]
|
||||
},
|
||||
"23": {
|
||||
"analysis": "<strong>And he shall bring upon them their own iniquity</strong> (וַיָּשֶׁב עֲלֵיהֶם אֶת־אוֹנָם, <em>vayashev alehem et-onam</em>)—<em>Shub</em> (return, bring back, repay) means God will cause their <em>aven</em> (iniquity, wickedness, trouble) to boomerang upon them. The principle of poetic justice: Haman hanged on his own gallows (Esther 7:10), Pharaoh drowned in the sea he used to murder Hebrew babies (Exodus 14:28), conspirators thrown to lions that were meant for Daniel (Daniel 6:24). God's judgment often uses the wicked's own schemes as instruments of their downfall.<br><br><strong>And shall cut them off in their own wickedness</strong> (וּבְרָעָתָם יַצְמִיתֵם, <em>uv'ra'atam yatsmitem</em>)—<em>Ra'ah</em> (evil, wickedness) becomes the means of their <em>cutting off</em> (<em>tsamat</em>, destroy, exterminate, silence). <strong>Yea, the LORD our God shall cut them off</strong> (יַצְמִיתֵם יְהוָה אֱלֹהֵינוּ, <em>yatsmitem YHWH Eloheinu</em>)—Emphatic repetition and divine title: Yahweh our God personally executes this judgment. The psalm began asking 'How long shall the wicked triumph?' (v.3); it ends affirming their certain destruction. Delayed judgment is not cancelled judgment.",
|
||||
"historical": "The principle appears throughout Scripture: Babel's confusion (Genesis 11), Sodom's fire (Genesis 19), Korah's earth-swallowing (Numbers 16), Sennacherib's army (2 Kings 19). Revelation promises final implementation: the beast and false prophet thrown into the lake of fire (Revelation 19:20), Satan bound and judged (Revelation 20:10). Justice may tarry but will not fail.",
|
||||
"questions": [
|
||||
"How does believing in certain future judgment affect your response to current injustice?",
|
||||
"What does 'bringing their own iniquity upon them' teach about the self-destructive nature of sin?",
|
||||
"How should Christians balance longing for justice with praying for enemies' repentance (while there's time)?"
|
||||
]
|
||||
}
|
||||
},
|
||||
"95": {
|
||||
"8": {
|
||||
"analysis": "<strong>Harden not your heart</strong> (אַל־תַּקְשׁוּ לְבַבְכֶם, <em>al-takshu l'vavkhem</em>)—The prohibition uses <em>qashah</em> (to be hard, stiff, stubborn). The heart can be hardened like Pharaoh's (Exodus 7-14) or softened like Josiah's (2 Kings 22:19). Hardening is willful resistance to God's voice—the opposite of the tender responsiveness called for in verses 6-7. Hebrews 3-4 extensively applies this warning to Christians: 'Today, if you hear his voice, do not harden your hearts' (Hebrews 3:7-8, 15; 4:7).<br><br><strong>As in the provocation, and as in the day of temptation in the wilderness</strong> (כִּמְרִיבָה כְּיוֹם מַסָּה בַּמִּדְבָּר, <em>kim'rivah k'yom Massah bamidbar</em>)—<em>Merivah</em> (provocation, strife, contention) and <em>Massah</em> (testing) reference Exodus 17:7, where Israel tested God at Rephidim, demanding water: 'Is the LORD among us or not?' They provoked God by doubting his presence and provision despite repeated miracles. This became the paradigmatic example of unbelief.",
|
||||
"historical": "The Meribah-Massah incident (Exodus 17:1-7) occurred early in the wilderness wanderings. Despite seeing the plagues in Egypt, the Red Sea parting, manna from heaven, Israel doubted at the first difficulty. This pattern repeated throughout forty years, culminating in unbelief at Kadesh-barnea (Numbers 13-14), which resulted in that generation dying in the wilderness. Psalm 95 warns subsequent generations not to repeat the pattern.",
|
||||
"questions": [
|
||||
"In what areas of your life might you be hardening your heart against what God is saying?",
|
||||
"How does today's comfort and provision not guarantee tomorrow's faith under pressure?",
|
||||
"What practices help maintain a tender, responsive heart toward God's voice?"
|
||||
]
|
||||
},
|
||||
"9": {
|
||||
"analysis": "<strong>When your fathers tempted me, proved me</strong> (אֲשֶׁר נִסּוּנִי אֲבוֹתֵיכֶם בְּחָנוּנִי, <em>asher nisuni avoteikhem b'chanuni</em>)—<em>Nasah</em> (test, tempt, put to the proof) and <em>bachan</em> (examine, try, prove) are synonymous intensification. The irony: God tests humans to prove their faithfulness, but Israel reversed the relationship, testing God's faithfulness. They put God on trial: 'Prove yourself to us! Show us you care!' This inverted the proper creature-Creator relationship. We don't test God; he tests us (Deuteronomy 8:2).<br><br><strong>And saw my work</strong> (גַּם־רָאוּ פָעֳלִי, <em>gam-ra'u fo'oli</em>)—<em>Gam</em> (also, even) emphasizes: they tested me <em>even though</em> they had <em>seen</em> (<em>ra'ah</em>) my <em>works</em> (<em>po'al</em>, deeds, acts). They were eyewitnesses to God's miracles yet still doubted. Seeing isn't believing when the heart is hard. Jesus faced the same: people saw his miracles yet demanded more signs (John 6:30). Thomas needed to see to believe, but Jesus said, 'Blessed are those who have not seen and yet have believed' (John 20:29).",
|
||||
"historical": "The wilderness generation saw more miracles than any generation before or since: ten plagues, Red Sea crossing, pillar of cloud and fire, manna daily, water from rocks, victories in battle, God's presence at Sinai. Yet Hebrews 3:10 quotes this verse, noting they 'always go astray in their heart.' Knowledge of God's works doesn't automatically produce faith when the will resists.",
|
||||
"questions": [
|
||||
"What 'works of God' have you personally witnessed, and how do you guard against forgetting them?",
|
||||
"How can someone see God's provision repeatedly yet still doubt when new challenges arise?",
|
||||
"What's the difference between legitimate questioning and the sinful 'testing' of God condemned here?"
|
||||
]
|
||||
},
|
||||
"10": {
|
||||
"analysis": "<strong>Forty years long was I grieved with this generation</strong> (אַרְבָּעִים שָׁנָה אָקוּט בְּדוֹר, <em>arba'im shanah akut b'dor</em>)—<em>Akut</em> means to feel loathing, disgust, grief. For <em>forty years</em>—an entire generation—God experienced grief over his people's unbelief. This anthropopathism (attributing human emotions to God) reveals God's heart: he doesn't coldly destroy rebels but grieves like a parent over wayward children. Genesis 6:6 similarly says God was 'grieved in his heart' before the flood. Ephesians 4:30 warns: 'Do not grieve the Holy Spirit.'<br><br><strong>And said, It is a people that do err in their heart</strong> (וָאֹמַר עַם תֹּעֵי לֵבָב הֵם, <em>va'omar am to'ei levav hem</em>)—God's diagnosis: <em>to'ei levav</em> (erring in heart, going astray in heart). The problem wasn't intellectual confusion but heart rebellion. <strong>And they have not known my ways</strong> (וְהֵם לֹא־יָדְעוּ דְרָכָי, <em>v'hem lo-yad'u d'rakhai</em>)—<em>Yada</em> (know) means experiential, intimate knowledge. They didn't <em>know</em> God's <em>ways</em> (character, patterns, methods) because they refused to trust and obey. Knowledge requires relationship; relationship requires trust.",
|
||||
"historical": "The forty years began at the golden calf incident (Exodus 32) and continued through rebellion at Kadesh-barnea (Numbers 13-14) until the last of that generation died (Numbers 26:65, Deuteronomy 2:14-16). Joshua and Caleb were exceptions because they wholly followed the LORD (Numbers 32:11-12). The number forty often signifies a complete period of testing in Scripture (Moses on Sinai, Elijah's journey, Jesus's temptation).",
|
||||
"questions": [
|
||||
"How does knowing that sin grieves God (not just angers him) affect how you view your disobedience?",
|
||||
"What does 'erring in heart' reveal about the root cause of spiritual wandering and doctrinal error?",
|
||||
"How do you grow in knowing God's ways rather than merely knowing about God?"
|
||||
]
|
||||
},
|
||||
"11": {
|
||||
"analysis": "<strong>Unto whom I sware in my wrath</strong> (אֲשֶׁר־נִשְׁבַּעְתִּי בְאַפִּי, <em>asher-nishba'ti v'api</em>)—<em>Shaba</em> (to swear, take an oath) combined with <em>af</em> (anger, wrath) indicates a solemn divine oath pronounced in judgment. God bound himself by oath that the wilderness generation would not enter his rest. Numbers 14:21-23 records this oath: 'As I live... none of the men who have seen my glory and my signs... shall see the land.' God's oaths are irrevocable (Hebrews 6:17-18).<br><br><strong>That they should not enter into my rest</strong> (אִם־יְבֹאוּן אֶל־מְנוּחָתִי, <em>im-yevo'un el-m'nuchati</em>)—<em>Im</em> here is a negative oath formula: 'surely not!' <em>M'nuchah</em> (rest, resting place) primarily meant the Promised Land (Deuteronomy 12:9, Psalm 132:14), a place of security, peace, and provision after wilderness wandering. But Hebrews 3:7-4:11 applies this to eternal rest—the ultimate Sabbath rest for God's people. The wilderness generation's exclusion typifies all who reject God's provision: they cannot enter his rest. Only faith grants entrance (Hebrews 4:3).",
|
||||
"historical": "The generation that left Egypt never entered Canaan. They died in the wilderness over forty years (Numbers 26:64-65). Only their children, led by Joshua and Caleb, crossed the Jordan. Yet Hebrews argues that even Joshua didn't give them ultimate rest (Hebrews 4:8)—there remains a Sabbath rest for God's people, fulfilled in Christ. Unbelief excludes from rest in every generation.",
|
||||
"questions": [
|
||||
"What is the 'rest' that God offers, and how do people still miss it through unbelief today?",
|
||||
"How does Hebrews' application of this warning to Christians challenge presumptuous or nominal faith?",
|
||||
"What practices help you 'strive to enter that rest' (Hebrews 4:11) rather than hardening your heart?"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Continue with remaining sections...
|
||||
# Due to length, I'll add the remaining 51 verses in the next section
|
||||
|
||||
print("Partial commentary data structure created.")
|
||||
print("This includes Psalm 86:12-17, 94:21-23, 95:8-11")
|
||||
print("Remaining: 109:27-31, 112:10, 116:18-19, 118:25-29, 127:2-5, 133:2-3, 136:9-26, 137:9, 141:7-10, 144:12-15, 149:7-9")
|
||||
Reference in New Issue
Block a user