Your English teacher lied to you No. 343439.
https://www.merriam-webster.com/grammar/prepositions-ending-a-sentence-with
Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.