Condition for multiple Pepiline

Condition for multiple Pepiline

I have 2 pipelines with different stages (Government and Private), I have the field where I indicate which type of pipeline I want to follow, but I cannot fit the deal within the designated pipeline, it enables all stages (both government and private) for all deals , can I create a condition for it to use the different pipeline for each deal?