This is an interesting passage
Psalm 25:5 As for such as turn aside unto their crooked ways, the LORD shall lead them forth with the workers of iniquity: but peace shall be upon Israel.
In the turning aside (unto their crooked ways here) the LORD himself shall lead them forth with those.
So it shows that He leading them forth with the workers of iniquity (not righteousness).
Even as Jesus said every branch in him that does not bear fruit He (the LORD) takes away as well
John 15:2 Every branch in me that beareth not fruit (( HE )) taketh away:
Whereas in the Psalms it shows how he does this,
... the LORD shall lead them forth with (these) the workers of iniquity
Just as here of those who do not abide in him he says,
John 15:6 If a man abide not in me, he is cast forth as a branch, and is withered;
and men gather them, and cast them into the fire, and they are burned.
Because if they are not bearing fruit (by abiding) and he (not any man) taketh them away (in reality) and because they would be bearing thorns (not fruit) by a true abiding.
So it makes sense they (in turning to their crooked ways) would be led forth (even as by the LORD) with the use of these men (even workers of iniquity) and cast forth branches be gathered by such men to be burned, just as it says here.
Heb 6:8 But that which beareth thorns and briers is rejected, and is nigh unto cursing;
whose end is to be burned.