Loop through matrix field find first block of a type
{% set myFirstMatrixBlockWithType = entry.blogPostMainSection.type('blogText').one() %}

{{ myFirstMatrixBlockWithType.articleText }} 


Keep in mind entry.blogPostMainSection is not an array of blocks but a Query