People, thank you for the help. @joy using your logic I made it work as I needed it. Instead of passing set_query_var I just passed the get_template_var and it worked as I needed it.
The loop made the process of each pass pick up a different model, where the path was in the array.
<?php if( $the_query->have_posts() ){ ?>
<?php
$i = 0;
while ( $the_query->have_posts() ) : $the_query->the_post();
get_template_part( 'template-parts/content', $cards[$i]['model_card'] );
$i++;
?>
<?php endwhile;
} else { ?>
<div class="col-12">
nothin result
</div>
<?php }?>
@bcworkz Thanks for the explanation, I’ll probably use this function in the future.