It’s not grammatically incorrect to end a sentence with a preposition. It’s a common misconception that it is a rule, basically because one guy argued in favor of it back in the 1600s and had some support for formal writing in the 1700s. But it’s never been a broad rule, and even in formal contexts it’s not a rule in any current, reputable style or usage guides (so far as I know, at least).
A new student is looking for the library and stops a passing professor to ask, “Excuse me sir, can you please tell me where the library is at?” To which the professor responds, “Here at Harvard, we don’t end our sentences with prepositions.”
The student without missing a beat says “I’m sorry, can you please tell me where the library is at, asshole?”
(Not sure if I remember exactly how it should be written it, apologies if I got it wrong)
It’s not grammatically incorrect to end a sentence with a preposition. It’s a common misconception that it is a rule, basically because one guy argued in favor of it back in the 1600s and had some support for formal writing in the 1700s. But it’s never been a broad rule, and even in formal contexts it’s not a rule in any current, reputable style or usage guides (so far as I know, at least).
Some more info on the topic: https://www.merriam-webster.com/grammar/prepositions-ending-a-sentence-with
I only know of this “rule” because of a joke.
(Not sure if I remember exactly how it should be written it, apologies if I got it wrong)