I figured it out!
I clicked on the form itself in Squarespace. Clicked on Post Submit, then Message. Then I added in the HTML box the HTML code that I got from Mailerlite. That worked. Before I was trying to embed the code not in my form box but by adding it in a new block below the form. That is why it wasn't working.
Thanks for checking into it!