It's not a pastor's job to solve your problems; rather, it's his job to lead you back to Christ, whose Spirit is able to powerfully solve all problems, beginning with salvation.
On the supreme judicial scale of God, righteousness is the only thing with any mass to it. Man is incapable of bestowing righteousness to himself, it is a gift from God, both through imputation at salvation and impartation during sanctification. In all cases, God adds righteousness to His own scales on man's behalf (Pr 16:8-11). Gloria in excelsis Deo ("Glory to God in the highest").