Direct Answer
Paul’s conclusion reframes “mercy” and “hardening” as God’s covenant dealings with groups based on their response to His revealed way of righteousness: Gentiles attain righteousness “by faith,” while Israel stumbles because they pursued it “by the works of the law.” That means the earlier language is not meant to teach random, whim-based predestination.