you just need to override list.phtml file in your theme
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
and replace the code below:
From
<?php $postParams = $block->getAddToCartPostParams($_product); ?>
<form data-role="tocart-form"
data-product-sku="<?= $block->escapeHtml($_product->getSku()) ?>"
action="<?= $block->escapeUrl($postParams['action']) ?>"
method="post">
<input type="hidden"
name="product"
value="<?= $postParams['data']['product'] ?>">
<input type="hidden" name="<?= Action::PARAM_NAME_URL_ENCODED ?>"
value="<?= $postParams['data'][Action::PARAM_NAME_URL_ENCODED] ?>">
<?= $block->getBlockHtml('formkey') ?>
<button type="submit"
title="<?= $block->escapeHtmlAttr(__('Add to Cart')) ?>"
class="action tocart primary">
<span><?= $block->escapeHtml(__('Add to Cart')) ?></span>
</button>
</form>
To
<button title="<?= $block->escapeHtmlAttr(__('Add to Cart')) ?>"
class="action primary">
<a href="<?= $_product->getProductUrl() ?>"><span><?= $block->escapeHtml(__('Add to Cart')) ?></span></a>
</button>
Hope this will help you!