There would be nothing wrong with ending your sentence with a prep. phrase. In your example the prepositional phrase is incorrect because it is not modifying anything.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.