HubSpot is a streamlined marketing service first and foremost.
WordPress is a flexible CMS first and foremost.
Consequently, these two platforms have different strengths and weaknesses and the means of shoring up their weaknesses vary.
https://www.rcreative.marketing/wordpress/hubspot-cms-wordpress-comparison/