Ofaqim (Israel) and Bat Yam (Israel) are 80 km (50 mi) apart in a straight line. The way we suggest is by train, via Netivot, Ashkelon and Netivot: ~3h 10m door to door with 3 changes. No flight is needed.
Step by step
Train from Ofaqim to Netivot: ~15m, 12 km
Train from Netivot to Ashkelon: ~30m, 27 km
Train from Ashkelon to Netivot: ~30m, 27 km
Train from Netivot to Bat Yam: ~1h 10m, 69 km
Times are rough door-to-door times, with time to change included. A "~" marks a rough time worked out from the distance. We don't have timetables, and fares are rough estimates, not quotes: check Google Maps or the operator before you travel.