Who does God oppose? Is it just those who oppose Him? Both James and Peter quote Prov 3:33-34. (Even though the English translation uses the word “opposes” in their books, but doesn’t use the word oppose in Proverbs, we can see the meaning is the same.) Interestingly, the context for quoting it in James is different than the context in Peter. Perhaps it is not a narrow beam for specific actions, but more aimed at attitude/mindset/values.
James 4:4-7 4 You adulterous people,[a] don’t you know that friendship with the world means enmity against God? Therefore, anyone who chooses to be a friend of the world becomes an enemy of God. 5 Or do you think Scripture says without reason that he jealously longs for the spirit he has caused to dwell in us[b]? 6 But he gives us more grace. That is why Scripture says: “God opposes the proud but shows favor to the humble.” 7 Submit yourselves, then, to God. Resist the devil, and he will flee from you.
1 Peter 5:5 5 In the same way, you who are younger, submit yourselves to your elders. All of you, clothe yourselves with humility toward one another, because, “God opposes the proud but shows favor to the humble.”
Proverbs 3:33-34 33 The Lord’s curse is on the house of the wicked,
but he blesses the home of the righteous. 34 He mocks proud mockers
but shows favor to the humble and oppressed.
Proverbs 22:12 The Lord watches over true knowledge, and he opposes those who try to deceive others.