Glamorgan captain Jim Allenby says it wasn't to be after they were beaten by Hampshire who won by six runs.