These 5 move checkmates don't help either. What's even the point? Like why play if you're just gonna end the game in 4-5 moves anyway? This was after a 6-7 game lose streak too.
We all had games like that when we started playing chess. Maybe you have been playing chess with your friends and family for years but you have never faced this extended scholar's mate opening. It is good for you that you have seen it, even if you have fallen into the trap. Who cares, it is just one loss, but now you know this idea and this trap so you will not be falling for this crap anymore. It is better to fall for this crap online anonymously than in person, so be happy that this game has happened. Seriously, it is all part of getting better, having to deal with various dubious openings while you have lower rating, analysing those openings, getting experience in playing against them will be valuable later since if later one day somebody tries to surprise you with those dubious openings you will know how to react and you will be experienced in those openings. This is all normal and healthy for your chess development as long as you don't try to copy your opponents who try to play for tricks and who play dubious openings then you are on the road to 1000+ rating. To be honest, why just 1000 rating, if you love chess, you will probably keep playing and reach 1500+ rating. Be happy that you have the opportunity to improve in the next couple of months more than you have improved in the last decade. I highly suggest Ben Finegold lectures. You need to watch GMs or IMs on youtube in order to get your fundamentals down. I have also watched Hikaru Nakamura speedrun videos while I was getting better (try watching speedruns where he plays legit openings instead of the Boncloud and instead of speedruns where he sacs his queen, try watching his older speedruns). This is what I did to get better.
eh, stop resigning winning position would be on place to start.