I’m not an adcom or advisor, but as someone who transferred a few times, I will say that even if you’re transferring to a harder school, being significantly happier will make it easier to do well. It sounds like you should transfer and save your sanity.
But first, have you prayed about it?