This means you end up in a bad or hard situation. It happens because of something else that happened before.
、。
I missed the last train and ended up having to go home by taxi.
、にで。
If you keep playing games that much, you'll end up having to pull an all-nighter to do your summer homework on the last day.
、、。
Because my colleague suddenly quit, I ended up having to take on his work as well, and now I'm working overtime every day.
、。
Just because I carelessly took on debt, I ended up in the position of having to sell my house.
、に。
I didn't check the weather forecast, but luckily I didn't end up in the predicament of getting soaked by the rain.